Changeset 13493 in josm for trunk/src/org
- Timestamp:
- 2018-03-04T01:20:15+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 34 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/OpenLocationAction.java
r13288 r13493 297 297 * Adds a new download task to the supported ones. 298 298 * @param taskClass The new download task to add 299 * @return < tt>true</tt> (as specified by {@link Collection#add})299 * @return <code>true</code> (as specified by {@link Collection#add}) 300 300 */ 301 301 public final boolean addDownloadTaskClass(Class<? extends DownloadTask> taskClass) { -
trunk/src/org/openstreetmap/josm/data/UserIdentityManager.java
r12881 r13493 7 7 8 8 import org.openstreetmap.josm.Main; 9 import org.openstreetmap.josm.spi.preferences.PreferenceChangeEvent;10 import org.openstreetmap.josm.spi.preferences.PreferenceChangedListener;11 9 import org.openstreetmap.josm.data.oauth.OAuthAccessTokenHolder; 12 10 import org.openstreetmap.josm.data.osm.User; 13 11 import org.openstreetmap.josm.data.osm.UserInfo; 14 import org.openstreetmap.josm.spi.preferences.StringSetting;15 12 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 16 13 import org.openstreetmap.josm.io.OnlineResource; … … 20 17 import org.openstreetmap.josm.io.auth.CredentialsManager; 21 18 import org.openstreetmap.josm.spi.preferences.Config; 19 import org.openstreetmap.josm.spi.preferences.PreferenceChangeEvent; 20 import org.openstreetmap.josm.spi.preferences.PreferenceChangedListener; 21 import org.openstreetmap.josm.spi.preferences.StringSetting; 22 22 import org.openstreetmap.josm.tools.CheckParameterUtil; 23 23 import org.openstreetmap.josm.tools.JosmRuntimeException; … … 38 38 * The current user is fully identified if JOSM knows both the user name and the unique 39 39 * id of the users OSM account. The latter is retrieved from the OSM server with a 40 * < tt>GET /api/0.6/user/details</tt> request, submitted with the user name and password40 * <code>GET /api/0.6/user/details</code> request, submitted with the user name and password 41 41 * of the current user. 42 42 * -
trunk/src/org/openstreetmap/josm/data/imagery/OffsetBookmark.java
r13243 r13493 312 312 * @return the bookmark at the given index 313 313 * @throws IndexOutOfBoundsException if the index is out of range 314 * (< tt>index < 0 || index >= size()</tt>)314 * (<code>index < 0 || index >= size()</code>) 315 315 * @since 11651 316 316 */ -
trunk/src/org/openstreetmap/josm/data/osm/DefaultNameFormatter.java
r13391 r13493 96 96 * Replies the list of naming tags used in relations. The list is given (in this order) by: 97 97 * <ul> 98 * <li>by the tag names in the preference < tt>relation.nameOrder</tt></li>98 * <li>by the tag names in the preference <code>relation.nameOrder</code></li> 99 99 * <li>by the default tags in {@link #DEFAULT_NAMING_TAGS_FOR_RELATIONS} 100 100 * </ul> … … 113 113 /** 114 114 * Decorates the name of primitive with its id, if the preference 115 * < tt>osm-primitives.showid</tt> is set. Shows unique id if osm-primitives.showid.new-primitives is set115 * <code>osm-primitives.showid</code> is set. Shows unique id if osm-primitives.showid.new-primitives is set 116 116 * 117 117 * @param name the name without the id … … 511 511 /** 512 512 * Decorates the name of primitive with its id, if the preference 513 * < tt>osm-primitives.showid</tt> is set.513 * <code>osm-primitives.showid</code> is set. 514 514 * 515 515 * The id is append to the {@link StringBuilder} passed in <code>name</code>. -
trunk/src/org/openstreetmap/josm/data/osm/IPrimitive.java
r13103 r13493 219 219 /** 220 220 * Replies the name of this primitive. The default implementation replies the value 221 * of the tag < tt>name</tt> or null, if this tag is not present.221 * of the tag <code>name</code> or null, if this tag is not present. 222 222 * 223 223 * @return the name of this primitive -
trunk/src/org/openstreetmap/josm/data/osm/Way.java
r13434 r13493 527 527 /** 528 528 * Returns the last node of this way. 529 * The result equals < tt>{@link #getNode getNode}({@link #getNodesCount getNodesCount} - 1)</tt>.529 * The result equals <code>{@link #getNode getNode}({@link #getNodesCount getNodesCount} - 1)</code>. 530 530 * @return the last node of this way 531 531 * @since 1400 -
trunk/src/org/openstreetmap/josm/data/osm/history/HistoryOsmPrimitive.java
r12620 r13493 301 301 /** 302 302 * Replies the name of this primitive. The default implementation replies the value 303 * of the tag < tt>name</tt> or null, if this tag is not present.303 * of the tag <code>name</code> or null, if this tag is not present. 304 304 * 305 305 * @return the name of this primitive -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/Multipolygon.java
r13206 r13493 40 40 41 41 /** preference key for a collection of roles which indicate that the respective member belongs to an 42 * <em>outer</em> polygon. Default is < tt>outer</tt>.42 * <em>outer</em> polygon. Default is <code>outer</code>. 43 43 */ 44 44 public static final String PREF_KEY_OUTER_ROLES = "mappaint.multipolygon.outer.roles"; … … 50 50 51 51 /** preference key for a collection of roles which indicate that the respective member belongs to an 52 * <em>inner</em> polygon. Default is < tt>inner</tt>.52 * <em>inner</em> polygon. Default is <code>inner</code>. 53 53 */ 54 54 public static final String PREF_KEY_INNER_ROLES = "mappaint.multipolygon.inner.roles"; -
trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java
r13001 r13493 140 140 /** 141 141 * Constructs a new {@code InvalidPreferenceValueException} with the specified cause and a detail message of 142 * < tt>(cause==null ? null : cause.toString())</tt> (which typically contains the class and detail message of <tt>cause</tt>).142 * <code>(cause==null ? null : cause.toString())</code> (which typically contains the class and detail message of <code>cause</code>). 143 143 * 144 144 * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). -
trunk/src/org/openstreetmap/josm/data/projection/ProjectionConfigurationException.java
r12453 r13493 16 16 * by the {@link #getMessage()} method). 17 17 * @param cause the cause (which is saved for later retrieval by the 18 * {@link #getCause()} method). (A < tt>null</tt> value is18 * {@link #getCause()} method). (A <code>null</code> value is 19 19 * permitted, and indicates that the cause is nonexistent or unknown.) 20 20 */ … … 35 35 * Constructs a new {@code ProjectionConfigurationException}. 36 36 * @param cause the cause (which is saved for later retrieval by the 37 * {@link #getCause()} method). (A < tt>null</tt> value is37 * {@link #getCause()} method). (A <code>null</code> value is 38 38 * permitted, and indicates that the cause is nonexistent or unknown.) 39 39 */ -
trunk/src/org/openstreetmap/josm/data/validation/tests/RelationChecker.java
r12976 r13493 178 178 * @param member to be verified 179 179 * @param n relation to be verified 180 * @return < tt>true</tt> if member passed any of definition within preset180 * @return <code>true</code> if member passed any of definition within preset 181 181 * 182 182 */ -
trunk/src/org/openstreetmap/josm/gui/dialogs/ToggleDialog.java
r13265 r13493 278 278 * The action to toggle the visibility state of this toggle dialog. 279 279 * 280 * Emits {@link PropertyChangeEvent}s for the property < tt>selected</tt>:280 * Emits {@link PropertyChangeEvent}s for the property <code>selected</code>: 281 281 * <ul> 282 282 * <li>true, if the dialog is currently visible</li> -
trunk/src/org/openstreetmap/josm/gui/help/HelpContentReader.java
r10137 r13493 14 14 * help browser. 15 15 * 16 * The help content has to be <strong>filtered</strong> because only the main content < tt><div></tt>16 * The help content has to be <strong>filtered</strong> because only the main content <code><div></code> 17 17 * of a Wiki help page is displayed in the internal help browser. 18 18 * -
trunk/src/org/openstreetmap/josm/gui/help/HelpContentReaderException.java
r10137 r13493 23 23 * Constructs a new {@code HelpContentReaderException}. 24 24 * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). 25 * (A < tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)25 * (A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown.) 26 26 * @param responseCode HTTP response code related to the wiki access exception (0 if not applicable) 27 27 */ -
trunk/src/org/openstreetmap/josm/gui/io/DownloadFileTask.java
r13204 r13493 60 60 * later retrieval by the {@link #getMessage()} method. 61 61 * @param cause the cause (which is saved for later retrieval by the 62 * {@link #getCause()} method). (A < tt>null</tt> value is62 * {@link #getCause()} method). (A <code>null</code> value is 63 63 * permitted, and indicates that the cause is nonexistent or unknown.) 64 64 */ -
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintStyles.java
r13436 r13493 85 85 * text: a_tag_name; 86 86 * </pre> 87 * results in a tag reference for the tag < tt>a_tag_name</tt> in the87 * results in a tag reference for the tag <code>a_tag_name</code> in the 88 88 * style cascade. 89 89 */ -
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/LabelCompositionStrategy.java
r12881 r13493 8 8 import java.util.Objects; 9 9 10 import org.openstreetmap.josm.data.osm.OsmPrimitive; 11 import org.openstreetmap.josm.spi.preferences.Config; 10 12 import org.openstreetmap.josm.spi.preferences.PreferenceChangeEvent; 11 13 import org.openstreetmap.josm.spi.preferences.PreferenceChangedListener; 12 import org.openstreetmap.josm.data.osm.OsmPrimitive;13 import org.openstreetmap.josm.spi.preferences.Config;14 14 import org.openstreetmap.josm.tools.LanguageInfo; 15 15 … … 30 30 * of one of the configured "name tags". The list of relevant name tags can be configured 31 31 * in the JOSM preferences 32 * see the preference options < tt>mappaint.nameOrder</tt> and <tt>mappaint.nameComplementOrder</tt>.</li>32 * see the preference options <code>mappaint.nameOrder</code> and <code>mappaint.nameComplementOrder</code>.</li> 33 33 * </ul> 34 34 * @since 3987 (creation) … … 136 136 * Strategy where the label is given by the value of one of the configured "name tags". 137 137 * The list of relevant name tags can be configured in the JOSM preferences 138 * see the preference options < tt>mappaint.nameOrder</tt> and <tt>mappaint.nameComplementOrder</tt>138 * see the preference options <code>mappaint.nameOrder</code> and <code>mappaint.nameComplementOrder</code> 139 139 */ 140 140 class DeriveLabelFromNameTagsCompositionStrategy implements LabelCompositionStrategy, PreferenceChangedListener { … … 230 230 * {@link #DEFAULT_NAME_TAGS} and {@link #DEFAULT_NAME_COMPLEMENT_TAGS}) 231 231 * and from name tags configured in the preferences using the keys 232 * < tt>mappaint.nameOrder</tt> and <tt>mappaint.nameComplementOrder</tt>.232 * <code>mappaint.nameOrder</code> and <code>mappaint.nameComplementOrder</code>. 233 233 */ 234 234 public final void initNameTagsFromPreferences() { -
trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java
r12620 r13493 566 566 /** 567 567 * This is a custom implementation of the CellEditorRemover used in JTable 568 * to handle the client property < tt>terminateEditOnFocusLost</tt>.568 * to handle the client property <code>terminateEditOnFocusLost</code>. 569 569 * 570 570 * This implementation also checks whether focus is transferred to one of a list -
trunk/src/org/openstreetmap/josm/gui/util/GuiHelper.java
r13173 r13493 246 246 * <a href="http://docs.oracle.com/javase/tutorial/uiswing/concurrency/dispatch.html">Event Dispatch Thread</a> 247 247 * and return a value. 248 * @param <V> the result type of method < tt>call</tt>248 * @param <V> the result type of method <code>call</code> 249 249 * @param callable The callable to execute 250 250 * @return The computed result -
trunk/src/org/openstreetmap/josm/io/ChangesetQuery.java
r12743 r13493 350 350 * @param message the detail message. The detail message is saved for later retrieval by the {@link #getMessage()} method. 351 351 * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). 352 * (A < tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)352 * (A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown.) 353 353 */ 354 354 public ChangesetQueryUrlException(String message, Throwable cause) { … … 358 358 /** 359 359 * Constructs a new {@code ChangesetQueryUrlException} with the specified cause and a detail message of 360 * < tt>(cause==null ? null : cause.toString())</tt> (which typically contains the class and detail message of <tt>cause</tt>).360 * <code>(cause==null ? null : cause.toString())</code> (which typically contains the class and detail message of <code>cause</code>). 361 361 * 362 362 * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). 363 * (A < tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)363 * (A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown.) 364 364 */ 365 365 public ChangesetQueryUrlException(Throwable cause) { -
trunk/src/org/openstreetmap/josm/io/DefaultProxySelector.java
r12846 r13493 51 51 /** 52 52 * The {@link ProxySelector} provided by the JDK will retrieve proxy information 53 * from the system settings, if the system property < tt>java.net.useSystemProxies</tt>53 * from the system settings, if the system property <code>java.net.useSystemProxies</code> 54 54 * is defined <strong>at startup</strong>. It has no effect if the property is set 55 55 * later by the application. … … 67 67 /** 68 68 * The {@link ProxySelector} provided by the JDK will retrieve proxy information 69 * from the system settings, if the system property < tt>java.net.useSystemProxies</tt>69 * from the system settings, if the system property <code>java.net.useSystemProxies</code> 70 70 * is defined <strong>at startup</strong>. If the property is set later by the application, 71 71 * this has no effect. 72 72 * 73 * @return true, if < tt>java.net.useSystemProxies</tt> was set to true at class initialization time73 * @return true, if <code>java.net.useSystemProxies</code> was set to true at class initialization time 74 74 * 75 75 */ -
trunk/src/org/openstreetmap/josm/io/OsmApiException.java
r12992 r13493 71 71 /** 72 72 * Constructs an {@code OsmApiException} with the specified cause and a detail message of 73 * < tt>(cause==null ? null : cause.toString())</tt>74 * (which typically contains the class and detail message of < tt>cause</tt>).73 * <code>(cause==null ? null : cause.toString())</code> 74 * (which typically contains the class and detail message of <code>cause</code>). 75 75 * 76 76 * @param cause the cause (which is saved for later retrieval by the {@link #getCause} method). 77 * A < tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.77 * A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown. 78 78 */ 79 79 public OsmApiException(Throwable cause) { -
trunk/src/org/openstreetmap/josm/io/OsmApiInitializationException.java
r6070 r13493 20 20 /** 21 21 * Constructs an {@code OsmApiInitializationException} with the specified cause and a detail message of 22 * < tt>(cause==null ? null : cause.toString())</tt>23 * (which typically contains the class and detail message of < tt>cause</tt>).22 * <code>(cause==null ? null : cause.toString())</code> 23 * (which typically contains the class and detail message of <code>cause</code>). 24 24 * 25 25 * @param cause the cause (which is saved for later retrieval by the {@link #getCause} method). 26 * A < tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.26 * A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown. 27 27 */ 28 28 public OsmApiInitializationException(Throwable cause) { -
trunk/src/org/openstreetmap/josm/io/OsmServerBackreferenceReader.java
r12713 r13493 170 170 /** 171 171 * Scans a dataset for incomplete primitives. Depending on the configuration of this reader 172 * incomplete primitives are read from the server with an individual < tt>/api/0.6/[way,relation]/#id/full</tt>172 * incomplete primitives are read from the server with an individual <code>/api/0.6/[way,relation]/#id/full</code> 173 173 * request. 174 174 * -
trunk/src/org/openstreetmap/josm/io/OsmTransferCanceledException.java
r8415 r13493 19 19 * Constructs a new {@code OsmTransferCanceledException}, with given root cause. 20 20 * @param cause the cause (which is saved for later retrieval by the {@link #getCause} method). 21 * A < tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.21 * A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown. 22 22 */ 23 23 public OsmTransferCanceledException(Throwable cause) { -
trunk/src/org/openstreetmap/josm/io/OsmTransferException.java
r6070 r13493 28 28 /** 29 29 * Constructs an {@code OsmTransferException} with the specified cause and a detail message of 30 * < tt>(cause==null ? null : cause.toString())</tt>31 * (which typically contains the class and detail message of < tt>cause</tt>).30 * <code>(cause==null ? null : cause.toString())</code> 31 * (which typically contains the class and detail message of <code>cause</code>). 32 32 * 33 33 * @param cause the cause (which is saved for later retrieval by the {@link #getCause} method). 34 * A < tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.34 * A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown. 35 35 */ 36 36 public OsmTransferException(Throwable cause) { -
trunk/src/org/openstreetmap/josm/plugins/PluginDownloadException.java
r9621 r13493 28 28 /** 29 29 * Constructs a new {@code PluginDownloadException} with the specified cause and a detail message of 30 * < tt>(cause==null ? null : cause.toString())</tt> (which typically contains the class and detail message of <tt>cause</tt>).30 * <code>(cause==null ? null : cause.toString())</code> (which typically contains the class and detail message of <code>cause</code>). 31 31 * @param cause cause the cause (which is saved for later retrieval by the {@link #getCause()} method). 32 32 */ -
trunk/src/org/openstreetmap/josm/plugins/PluginException.java
r10050 r13493 39 39 /** 40 40 * Constructs a new {@code PluginException} with the specified plugin name, cause and a detail message of 41 * < tt>(cause==null ? null : cause.toString())</tt> (which typically contains the class and detail message of <tt>cause</tt>).41 * <code>(cause==null ? null : cause.toString())</code> (which typically contains the class and detail message of <code>cause</code>). 42 42 * @param name plugin name 43 43 * @param cause cause the cause (which is saved for later retrieval by the {@link #getCause()} method). -
trunk/src/org/openstreetmap/josm/plugins/PluginListParseException.java
r10050 r13493 19 19 /** 20 20 * Constructs a new {@code PluginListParseException} with the specified cause and a detail message of 21 * < tt>(cause==null ? null : cause.toString())</tt> (which typically contains the class and detail message of <tt>cause</tt>).21 * <code>(cause==null ? null : cause.toString())</code> (which typically contains the class and detail message of <code>cause</code>). 22 22 * @param cause cause the cause (which is saved for later retrieval by the {@link #getCause()} method). 23 23 */ -
trunk/src/org/openstreetmap/josm/tools/I18n.java
r13356 r13493 571 571 * 572 572 * Ignored if localeName is null. If the locale with name <code>localName</code> 573 * isn't found the default local is set to < tt>en</tt> (english).573 * isn't found the default local is set to <code>en</code> (english). 574 574 * 575 575 * @param localeName the locale name. Ignored if null. -
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r13369 r13493 360 360 /** 361 361 * Set an id used for caching. 362 * If name starts with < tt>http://</tt> Id is not used for the cache.362 * If name starts with <code>http://</code> Id is not used for the cache. 363 363 * (A URL is unique anyway.) 364 364 * @param id the id for the cached image -
trunk/src/org/openstreetmap/josm/tools/JosmRuntimeException.java
r11374 r13493 20 20 /** 21 21 * Constructs a new {@code JosmRuntimeException} with the specified cause and a detail message of 22 * < tt>(cause==null ? null : cause.toString())</tt> (which typically contains the class and detail message of <tt>cause</tt>).22 * <code>(cause==null ? null : cause.toString())</code> (which typically contains the class and detail message of <code>cause</code>). 23 23 * This constructor is useful for runtime exceptions that are little more than wrappers for other throwables. 24 24 * -
trunk/src/org/openstreetmap/josm/tools/UncheckedParseException.java
r9385 r13493 30 30 * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method). 31 31 * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). 32 * (A < tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)32 * (A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown.) 33 33 */ 34 34 public UncheckedParseException(String message, Throwable cause) { … … 40 40 * 41 41 * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). 42 * (A < tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)42 * (A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown.) 43 43 */ 44 44 public UncheckedParseException(Throwable cause) { -
trunk/src/org/openstreetmap/josm/tools/UserCancelException.java
r8919 r13493 21 21 * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method). 22 22 * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). 23 * (A < tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)23 * (A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown.) 24 24 */ 25 25 public UserCancelException(String message, Throwable cause) { … … 40 40 * 41 41 * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). 42 * (A < tt>null</tt> value is permitted, and indicates that the cause is nonexistent or unknown.)42 * (A <code>null</code> value is permitted, and indicates that the cause is nonexistent or unknown.) 43 43 */ 44 44 public UserCancelException(Throwable cause) {
Note:
See TracChangeset
for help on using the changeset viewer.