- Timestamp:
- 2010-01-09T23:38:57+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 38 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r2798 r2801 461 461 } 462 462 463 464 463 /** 465 464 * The type of a command line parameter, to be used in switch statements. … … 532 531 Main.worker.execute(new PostDownloadHandler(task, future)); 533 532 } 534 535 533 536 534 public static void determinePlatformHook() { -
trunk/src/org/openstreetmap/josm/actions/ChangesetManagerToggleAction.java
r2711 r2801 19 19 /** 20 20 * This action toggles the visibility of the {@see ChangesetCacheManager} dialog. 21 * 21 * 22 22 */ 23 23 public class ChangesetManagerToggleAction extends JosmAction { -
trunk/src/org/openstreetmap/josm/data/osm/ChangesetCache.java
r2711 r2801 27 27 * {@see #removeChangesetCacheListener(ChangesetCacheListener)} to unregister as 28 28 * cache event listener. 29 * 29 * 30 30 * The cache itself listens to {@see java.util.prefs.PreferenceChangeEvent}s. It 31 31 * clears itself if the OSM API URL is changed in the preferences. 32 * 32 * 33 33 * {@see ChangesetCacheEvent}s are delivered on the EDT. 34 * 34 * 35 35 */ 36 36 public class ChangesetCache implements PreferenceChangedListener{ … … 42 42 /** 43 43 * Replies the unique instance of the cache 44 * 44 * 45 45 * @return the unique instance of the cache 46 46 */ … … 162 162 * Removes the changesets in <code>changesets</code> from the cache. A 163 163 * {@see ChangesetCacheEvent} is fired. 164 * 164 * 165 165 * @param changesets the changesets to remove. Ignored if null. 166 166 */ -
trunk/src/org/openstreetmap/josm/data/osm/ChangesetCacheListener.java
r2711 r2801 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.data.osm; 3 4 3 5 4 public interface ChangesetCacheListener { -
trunk/src/org/openstreetmap/josm/data/osm/ChangesetDataSet.java
r2711 r2801 33 33 /** 34 34 * Remembers a history primitive with the given modification type 35 * 35 * 36 36 * @param primitive the primitive. Must not be null. 37 37 * @param cmt the modification type. Must not be null. … … 71 71 * Replies true if the primitive with id <code>id</code> was created in this 72 72 * changeset. Replies false, if id is null. 73 * 73 * 74 74 * @param id the id 75 75 * @return true if the primitive with id <code>id</code> was created in this … … 84 84 * Replies true if the primitive with id <code>id</code> was updated in this 85 85 * changeset. Replies false, if id is null. 86 * 86 * 87 87 * @param id the id 88 88 * @return true if the primitive with id <code>id</code> was updated in this … … 97 97 * Replies true if the primitive with id <code>id</code> was deleted in this 98 98 * changeset. Replies false, if id is null. 99 * 99 * 100 100 * @param id the id 101 101 * @return true if the primitive with id <code>id</code> was deleted in this … … 109 109 /** 110 110 * Replies the set of primitives with a specific modification type 111 * 111 * 112 112 * @param cmt the modification type. Must not be null. 113 113 * @return the set of primitives … … 127 127 /** 128 128 * Replies the number of objects in the dataset 129 * 129 * 130 130 * @return the number of objects in the dataset 131 131 */ … … 137 137 * Replies the {@see HistoryOsmPrimitive} with id <code>id</code> from this 138 138 * dataset. null, if there is no such primitive in the data set. 139 * 139 * 140 140 * @param id the id 141 141 * @return the {@see HistoryOsmPrimitive} with id <code>id</code> from this … … 146 146 return primitives.get(id); 147 147 } 148 149 148 150 149 public Iterator<ChangesetDataSetEntry> iterator() { -
trunk/src/org/openstreetmap/josm/data/osm/event/DataChangedEvent.java
r2741 r2801 40 40 41 41 /** 42 * 42 * 43 43 * @return List of events that caused this DataChangedEvent. Might be null 44 44 */ -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPaintSettings.java
r2725 r2801 65 65 load(); 66 66 } 67 68 67 69 68 public boolean isUseRealWidth() { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPainter.java
r2675 r2801 54 54 private final Collection<String> regionalNameOrder; 55 55 56 57 56 public MapPainter(MapPaintSettings settings, Graphics2D g, boolean inactive, NavigatableComponent nc, boolean virtual, double dist, double circum) { 58 57 this.g = g; … … 151 150 } 152 151 153 154 152 public void drawNodeIcon(Node n, ImageIcon icon, boolean annotate, boolean selected, String name) { 155 153 Point p = nc.getPoint(n); … … 175 173 } 176 174 } 177 178 175 179 176 /** -
trunk/src/org/openstreetmap/josm/gui/DefaultNameFormatter.java
r2750 r2801 169 169 name += " ("; 170 170 String nameTag = null; 171 for (String n : getNamingtagsForRelations()) { 172 if (n.equals("name")) { 171 for (String n : getNamingtagsForRelations()) { 172 if (n.equals("name")) { 173 173 if (Main.pref.getBoolean("osm-primitives.localize-name", true)) { 174 174 nameTag = relation.getLocalName(); -
trunk/src/org/openstreetmap/josm/gui/ExceptionDialogUtil.java
r2748 r2801 268 268 } 269 269 270 271 270 /** 272 271 * Explains a {@see UnknownHostException} which has caused an {@see OsmTransferException}. -
trunk/src/org/openstreetmap/josm/gui/JosmUserIdentityManager.java
r2711 r2801 13 13 * JosmUserStateManager is a global object which keeps track of what JOSM knows about 14 14 * the identity of the current user. 15 * 15 * 16 16 * JOSM can be operated anonymously provided the current user never invokes an operation 17 17 * on the OSM server which required authentication. In this case JOSM neither knows 18 18 * the user name of the OSM account of the current user nor its unique id. Perhaps the 19 19 * user doesn't have one. 20 * 20 * 21 21 * If the current user supplies a user name and a password in the JOSM preferences JOSM 22 22 * can partially identify the user. 23 * 23 * 24 24 * The current user is fully identified if JOSM knows both the user name and the unique 25 25 * id of the users OSM account. The later is retrieved from the OSM server with a 26 26 * <tt>GET /api/0.6/user/details</tt> request, submitted with the user name and password 27 27 * of the current user. 28 * 28 * 29 29 * The global JosmUserStateManager listens to {@see PreferenceChangeEvent}s and keeps track 30 30 * of what the current JOSM instance knows about the current user. Other subsystems can 31 31 * let the global JosmUserStateManager know in case they fully identify the current user, see 32 32 * {@see #setFullyIdentified(String, long)}. 33 * 33 * 34 34 * The information kept by the JosmUserStateManager can be used to 35 35 * <ul> … … 45 45 /** 46 46 * Replies the unique instance of teh JOSM user identity manager 47 * 47 * 48 48 * @return the unique instance of teh JOSM user identity manager 49 49 */ … … 74 74 * Remebers the fact that the current JOSM user is partially identified 75 75 * by the user name of its OSM account. 76 * 76 * 77 77 * @param userName the user name. Must not be null. Must not be empty (whitespace only). 78 78 * @throws IllegalArgumentException thrown if userName is null … … 90 90 * Remembers the fact that the current JOSM user is fully identified with a 91 91 * verified pair of user name and user id. 92 * 92 * 93 93 * @param userName the user name. Must not be null. Must not be empty. 94 94 * @param userinfo additional information about the user, retrieved from the OSM server and including the user id … … 108 108 /** 109 109 * Replies true if the current JOSM user is anonymous. 110 * 110 * 111 111 * @return true if the current user is anonymous. 112 112 */ … … 117 117 /** 118 118 * Replies true if the current JOSM user is partially identified. 119 * 119 * 120 120 * @return true if the current JOSM user is partially identified. 121 121 */ … … 124 124 } 125 125 126 127 126 /** 128 127 * Replies true if the current JOSM user is fully identified. 129 * 128 * 130 129 * @return true if the current JOSM user is fully identified. 131 130 */ … … 136 135 /** 137 136 * Replies the user name of the current JOSM user. null, if {@see #isAnonymous()} is true. 138 * 137 * 139 138 * @return the user name of the current JOSM user 140 139 */ … … 146 145 * Replies the user id of the current JOSM user. 0, if {@see #isAnonymous()} or 147 146 * {@see #isPartiallyIdentified()} is true. 148 * 147 * 149 148 * @return the user id of the current JOSM user 150 149 */ … … 157 156 * Replies verified additional information about the current user if the user is 158 157 * {@see #isFullyIdentified()}. 159 * 158 * 160 159 * @return verified additional information about the current user 161 160 */ … … 185 184 * Replies true if the user with name <code>username</code> is the current 186 185 * user 187 * 186 * 188 187 * @param username the user name 189 188 * @return true if the user with name <code>username</code> is the current -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r2800 r2801 64 64 /** 65 65 * Displays help on the console 66 * 66 * 67 67 */ 68 68 public static void showHelp() { -
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r2766 r2801 78 78 } 79 79 } 80 81 80 82 81 public static final int snapDistance = Main.pref.getInteger("node.snap-distance", 10); -
trunk/src/org/openstreetmap/josm/gui/dialogs/ChangesetDialog.java
r2741 r2801 62 62 * <li>the list of changesets objects in the current data layer are assigend to</li> 63 63 * </ul> 64 * 64 * 65 65 * The dialog offers actions to download and to close changesets. It can also launch an external 66 66 * browser with information about a changeset. Furthermore, it can select all objects in 67 67 * the current data layer being assigned to a specific changeset. 68 * 68 * 69 69 */ 70 70 public class ChangesetDialog extends ToggleDialog{ … … 85 85 private LaunchChangesetManagerAction launchChangesetManagerAction; 86 86 87 88 87 protected void buildChangesetsLists() { 89 88 DefaultListSelectionModel selectionModel = new DefaultListSelectionModel(); … … 117 116 MapView.addEditLayerChangeListener(inSelectionModel); 118 117 DataSet.selListeners.add(inSelectionModel); 119 120 118 121 119 // let the model for changesets in the current layer listen to various … … 360 358 /** 361 359 * Downloads selected changesets 362 * 360 * 363 361 */ 364 362 class ReadChangesetsAction extends AbstractAction implements ListSelectionListener, ItemListener{ … … 395 393 /** 396 394 * Closes the currently selected changesets 397 * 395 * 398 396 */ 399 397 class CloseOpenChangesetsAction extends AbstractAction implements ListSelectionListener, ItemListener { … … 427 425 /** 428 426 * Show information about the currently selected changesets 429 * 427 * 430 428 */ 431 429 class ShowChangesetInfoAction extends AbstractAction implements ListSelectionListener, ItemListener { … … 467 465 /** 468 466 * Show information about the currently selected changesets 469 * 467 * 470 468 */ 471 469 class LaunchChangesetManagerAction extends AbstractAction implements ListSelectionListener, ItemListener { … … 558 556 } 559 557 560 561 558 class ChangesetPopupMenuLauncher extends PopupMenuLauncher { 562 559 @Override -
trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java
r2716 r2801 690 690 /* 691 691 * Sort a collection of relation members by the way they are linked. 692 * 692 * 693 693 * @param relationMembers collection of relation members 694 694 * @return sorted collection of relation members -
trunk/src/org/openstreetmap/josm/gui/help/HelpBrowser.java
r2715 r2801 88 88 SwingUtilities.invokeLater(r); 89 89 } 90 91 90 92 91 /** -
trunk/src/org/openstreetmap/josm/gui/io/BasicUploadSettingsPanel.java
r2711 r2801 149 149 } 150 150 151 152 151 public UploadParameterSummaryPanel getUploadParameterSummaryPanel() { 153 152 return pnlUploadParameterSummary; -
trunk/src/org/openstreetmap/josm/gui/io/ChangesetManagementPanel.java
r2783 r2801 33 33 * ChangesetManagementPanel allows to configure changeset to be used in the next 34 34 * upload. 35 * 35 * 36 36 * It is displayed as one of the configuration panels in the {@see UploadDialog}. 37 * 37 * 38 38 * ChangesetManagementPanel is a source for {@see PropertyChangeEvent}s. Clients can listen 39 39 * to … … 185 185 * Replies the currently selected changeset. null, if no changeset is 186 186 * selected or if the user has chosen to use a new changeset. 187 * 187 * 188 188 * @return the currently selected changeset. null, if no changeset is 189 189 * selected. … … 198 198 * Replies true if the user has chosen to close the changeset after the 199 199 * next upload 200 * 200 * 201 201 */ 202 202 public boolean isCloseChangesetAfterUpload() { -
trunk/src/org/openstreetmap/josm/gui/io/OpenChangesetComboBoxModel.java
r2781 r2801 15 15 * A combobox model for the list of open changesets. The model is populated with the list 16 16 * of open changesets kept in the {@see ChangesetCache}. 17 * 17 * 18 18 */ 19 19 public class OpenChangesetComboBoxModel extends DefaultComboBoxModel implements ChangesetCacheListener { -
trunk/src/org/openstreetmap/josm/gui/io/TagSettingsPanel.java
r2711 r2801 99 99 /** 100 100 * Replies the map with the current tags in the tag editor model. 101 * 101 * 102 102 * @return the map with the current tags in the tag editor model. 103 103 */ -
trunk/src/org/openstreetmap/josm/gui/io/UpdatePrimitivesTask.java
r2711 r2801 46 46 /** 47 47 * Creates the task 48 * 48 * 49 49 * @param layer the layer in which primitives are updated. Must not be null. 50 50 * @param toUpdate a collection of primitives to update from the server. Set to -
trunk/src/org/openstreetmap/josm/gui/io/UploadPrimitivesTask.java
r2752 r2801 52 52 /** 53 53 * Creates the task 54 * 54 * 55 55 * @param strategy the upload strategy. Must not be null. 56 56 * @param layer the OSM data layer for which data is uploaded. Must not be null. -
trunk/src/org/openstreetmap/josm/gui/io/UploadStrategy.java
r2711 r2801 39 39 * Replies the value which is written to the preferences for a specific 40 40 * upload strategy 41 * 41 * 42 42 * @return the value which is written to the preferences for a specific 43 43 * upload strategy … … 54 54 /** 55 55 * Replies the upload strategy currently configured in the preferences. 56 * 56 * 57 57 * First checks for the preference key <pre>osm-server.upload-strategy</pre>. If not 58 58 * present, checks for the legacy preference key <pre>osm-server.atomic-upload</pre>. 59 * 59 * 60 60 * If both are missing or if the preference value is illegal, {@see #DEFAULT_UPLOAD_STRATEGY} 61 61 * is replied. 62 * 62 * 63 63 * @return the upload strategy currently configured in the preferences. 64 64 */ … … 92 92 /** 93 93 * Saves the upload strategy <code>strategy</code> to the preferences. 94 * 94 * 95 95 * @param strategy the strategy to save 96 96 */ -
trunk/src/org/openstreetmap/josm/gui/io/UploadStrategySelectionPanel.java
r2731 r2801 37 37 /** 38 38 * UploadStrategySelectionPanel is a panel for selecting an upload strategy. 39 * 39 * 40 40 * Clients can listen for property change events for the property 41 41 * {@see #UPLOAD_STRATEGY_SPECIFICATION_PROP}. -
trunk/src/org/openstreetmap/josm/gui/io/UploadStrategySpecification.java
r2711 r2801 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.gui.io; 3 4 5 3 6 4 /** 7 5 * An UploadStrategySpecification consists of the parameter describing the strategy 8 6 * for uploading a collection of {@see OsmPrimitive}. 9 * 7 * 10 8 * This includes: 11 9 * <ul> … … 39 37 * Clones another upload strategy. If other is null,assumes default 40 38 * values. 41 * 39 * 42 40 * @param other the other upload strategy 43 41 */ -
trunk/src/org/openstreetmap/josm/gui/io/UploadedObjectsSummaryPanel.java
r2711 r2801 22 22 * This panel displays a summary of the objects to upload. It is displayed in 23 23 * the upper part of the {@see UploadDialog}. 24 * 24 * 25 25 */ 26 26 public class UploadedObjectsSummaryPanel extends JPanel { … … 127 127 /** 128 128 * Replies the number of objects to upload 129 * 129 * 130 130 * @return the number of objects to upload 131 131 */ -
trunk/src/org/openstreetmap/josm/gui/preferences/ServerAccessPreference.java
r2745 r2801 52 52 /** 53 53 * Builds the tabbed pane with the server preferences 54 * 54 * 55 55 * @return 56 56 */ … … 79 79 /** 80 80 * Builds the panel for entering the server access preferences 81 * 81 * 82 82 * @return 83 83 */ -
trunk/src/org/openstreetmap/josm/gui/widgets/AbstractTextComponentValidator.java
r2711 r2801 22 22 /** 23 23 * This is an abstract class for a validator on a text component. 24 * 24 * 25 25 * Subclasses implement {@see #validate()}. {@see #validate()} is invoked whenever 26 26 * <ul> … … 29 29 * <li>the text component is a {@see JTextField} and an {@see ActionEvent} is detected</li> 30 30 * </ul> 31 * 32 * 31 * 32 * 33 33 */ 34 34 public abstract class AbstractTextComponentValidator implements ActionListener, FocusListener, DocumentListener, PropertyChangeListener{ … … 70 70 /** 71 71 * Replies the decorated text component 72 * 72 * 73 73 * @return the decorated text component 74 74 */ … … 79 79 /** 80 80 * Creates the validator and weires it to the text component <code>tc</code>. 81 * 81 * 82 82 * @param tc the text component. Must not be null. 83 83 * @throws IllegalArgumentException thrown if tc is null … … 97 97 /** 98 98 * Implement in subclasses to validate the content of the text component. 99 * 99 * 100 100 */ 101 101 public abstract void validate(); … … 104 104 * Replies true if the current content of the decorated text component is valid; 105 105 * false otherwise 106 * 106 * 107 107 * @return true if the current content of the decorated text component is valid 108 108 */ -
trunk/src/org/openstreetmap/josm/gui/widgets/HtmlPanel.java
r2711 r2801 15 15 * This panel can be used to display larger larger sections of formatted text in 16 16 * HTML. 17 * 17 * 18 18 * It displays HTML text in the same font as {@see JLabel}. Hyperlinks are rendered in 19 19 * blue and they are underlined. There is also a CSS rule for the HTML tag <strong> 20 20 * configured. 21 * 21 * 22 22 */ 23 23 public class HtmlPanel extends JPanel { … … 63 63 /** 64 64 * Replies the editor pane used internally to render the HTML text. 65 * 65 * 66 66 * @return the editor pane used internally to render the HTML text. 67 67 */ … … 73 73 * Sets the current text to display. <code>text</code> is a html fragment. 74 74 * If null, empty string is assumed. 75 * 75 * 76 76 * @param text the text to display 77 77 */ -
trunk/src/org/openstreetmap/josm/io/DefaultProxySelector.java
r2748 r2801 19 19 import org.openstreetmap.josm.gui.preferences.server.ProxyPreferencesPanel.ProxyPolicy; 20 20 21 22 21 /** 23 22 * This is the default proxy selector used in JOSM. 24 * 23 * 25 24 */ 26 25 public class DefaultProxySelector extends ProxySelector { … … 48 47 * is defined <strong>at startup</strong>. If the property is set later by the application, 49 48 * this has no effect. 50 * 49 * 51 50 * @return true, if <tt>java.net.useSystemProxies</tt> was set to true at class initialization time 52 * 51 * 53 52 */ 54 53 public static boolean willJvmRetrieveSystemProxies() { … … 67 66 * PropertySelector.setDefault(new DefaultPropertySelector(delegate)); 68 67 * </pre> 69 * 68 * 70 69 * @param delegate the proxy selector to delegate to if system settings are used. Usually 71 70 * this is the proxy selector found by ProxySelector.getDefault() before this proxy … … 97 96 /** 98 97 * Initializes the proxy selector from the setting in the preferences. 99 * 98 * 100 99 */ 101 100 public void initFromPreferences() { -
trunk/src/org/openstreetmap/josm/io/GpxReader.java
r2795 r2801 356 356 357 357 /** 358 * 358 * 359 359 * @return True if file was properly parsed, false if there was error during parsing but some data were parsed anyway 360 360 * @throws SAXException -
trunk/src/org/openstreetmap/josm/io/OsmConnection.java
r2748 r2801 70 70 /** 71 71 * Adds an authentication header for basic authentication 72 * 72 * 73 73 * @param con the connection 74 74 * @throws OsmTransferException thrown is something went wrong. Check for nested exceptions … … 105 105 /** 106 106 * Signs the connection with an OAuth authentication header 107 * 107 * 108 108 * @param connection the connection 109 * 109 * 110 110 * @throws OsmTransferException thrown if there is currently no OAuth Access Token configured 111 111 * @throws OsmTransferException thrown if signing fails -
trunk/src/org/openstreetmap/josm/io/auth/CredentialsManager.java
r2748 r2801 15 15 * optional HTTP proxy server a user may use</li> 16 16 * </ul> 17 * 17 * 18 18 * In addition, it manages an OAuth Access Token for accessing the OSM server. 19 19 */ … … 51 51 public CredentialsManagerResponse getCredentials(RequestorType requestorType, boolean noSuccessWithLastResponse) throws CredentialsManagerException; 52 52 53 54 53 /** 55 54 * Lookup the current OAuth Access Token to access the OSM server. Replies null, if no 56 55 * Access Token is currently managed by this CredentialManager. 57 * 56 * 58 57 * @return the current OAuth Access Token to access the OSM server. 59 58 * @throws CredentialsManagerException thrown if something goes wrong … … 63 62 /** 64 63 * Stores the OAuth Access Token <code>accessToken</code>. 65 * 64 * 66 65 * @param accessToken the access Token. null, to remove the Access Token. 67 66 * @throws CredentialsManagerException thrown if something goes wrong -
trunk/src/org/openstreetmap/josm/io/auth/CredentialsManagerFactory.java
r2711 r2801 4 4 /** 5 5 * CredentialManagerFactory is a factory for the single credential manager used. 6 * 6 * 7 7 * Currently, it defaults to replying an instance of {@see JosmPreferencesCredentialManager}. 8 * 8 * 9 9 */ 10 10 public class CredentialsManagerFactory { … … 13 13 /** 14 14 * Replies the single credential manager used in JOSM 15 * 15 * 16 16 * @return the single credential manager used in JOSM 17 17 */ -
trunk/src/org/openstreetmap/josm/io/auth/CredentialsManagerResponse.java
r2711 r2801 4 4 /** 5 5 * CredentialsManagerResponse represents the response from {@see CredentialsManager#getCredentials(java.net.Authenticator.RequestorType, boolean)}. 6 * 6 * 7 7 * The response consists of the username and the password the requested credentials consists of. 8 8 * In addition, it provides information whether authentication was canceled by the user, i.e. 9 9 * because he or she canceled a username/password dialog (see {@see #isCanceled()}. 10 * 10 * 11 11 */ 12 12 public class CredentialsManagerResponse { -
trunk/src/org/openstreetmap/josm/io/auth/DefaultAuthenticator.java
r2748 r2801 14 14 * for the OSM API and an optional proxy server to the currently configured 15 15 * {@see CredentialsManager}. 16 * 16 * 17 17 */ 18 18 public class DefaultAuthenticator extends Authenticator { … … 33 33 34 34 /** 35 * 35 * 36 36 * @param credentialManager the credential manager 37 37 */ … … 40 40 } 41 41 42 43 44 42 /** 45 43 * Called by the Java http stack when either the OSM API server or a proxy requires 46 44 * authentication. 47 * 45 * 48 46 */ 49 47 @Override protected PasswordAuthentication getPasswordAuthentication() { -
trunk/src/org/openstreetmap/josm/io/auth/JosmPreferencesCredentialManager.java
r2748 r2801 106 106 } 107 107 108 109 108 /** 110 109 * Lookup the current OAuth Access Token to access the OSM server. Replies null, if no 111 110 * Access Token is currently managed by this CredentialManager. 112 * 111 * 113 112 * @return the current OAuth Access Token to access the OSM server. 114 113 * @throws CredentialsManagerException thrown if something goes wrong … … 124 123 /** 125 124 * Stores the OAuth Access Token <code>accessToken</code>. 126 * 125 * 127 126 * @param accessToken the access Token. null, to remove the Access Token. 128 127 * @throws CredentialsManagerException thrown if something goes wrong -
trunk/src/org/openstreetmap/josm/tools/CheckParameterUtil.java
r2711 r2801 15 15 16 16 private CheckParameterUtil(){} 17 18 17 19 18 public static void ensureValidPrimitiveId(PrimitiveId id, String parameterName) throws IllegalArgumentException { … … 36 35 /** 37 36 * Ensures that <code>id</code> is non-null primitive id of type {@see OsmPrimitiveType#NODE} 38 * 37 * 39 38 * @param id the primitive id 40 39 * @param parameterName the name of the parameter to be checked
Note:
See TracChangeset
for help on using the changeset viewer.