- Timestamp:
- 2014-01-03T13:34:53+01:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/TransformNodesCommand.java
r6566 r6610 128 128 * Get the center of the nodes under modification. 129 129 * It's just the barycenter. 130 * @see {@link org.openstreetmap.josm.tools.Geometry#getCentroid(java.util.List)}130 * @see org.openstreetmap.josm.tools.Geometry#getCentroid(java.util.List) 131 131 */ 132 132 public EastNorth getNodesCenter() { -
trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
r6579 r6610 605 605 /** 606 606 * Returns true if the {@code key} corresponds to an OSM true value. 607 * @see {@link OsmUtils#isTrue(String) }607 * @see OsmUtils#isTrue(String) 608 608 */ 609 609 public final boolean isKeyTrue(String key) { … … 613 613 /** 614 614 * Returns true if the {@code key} corresponds to an OSM false value. 615 * @see {@link OsmUtils#isFalse(String) }615 * @see OsmUtils#isFalse(String) 616 616 */ 617 617 public final boolean isKeyFalse(String key) { -
trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java
r6603 r6610 289 289 * 290 290 * @return a description (possibly with alternative suggestions) 291 * @see {@link #getDescriptionForMatchingSelector(Selector)}291 * @see #getDescriptionForMatchingSelector(Selector) 292 292 */ 293 293 String getDescription() { -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java
r6560 r6610 139 139 /** 140 140 * Creates a list of values, e.g., for the {@code dashes} property. 141 * @see {@link Arrays#asList(Object[])}141 * @see Arrays#asList(Object[]) 142 142 */ 143 143 public static List list(Object... args) { … … 159 159 /** 160 160 * Splits string {@code toSplit} at occurrences of the separator string {@code sep} and returns a list of matches. 161 * @see {@link String#split(String)}161 * @see String#split(String) 162 162 * @since 5699 163 163 */ … … 168 168 /** 169 169 * Creates a color value with the specified amounts of {@code r}ed, {@code g}reen, {@code b}lue (arguments from 0.0 to 1.0) 170 * @see {@link Color#Color(float, float, float)}170 * @see Color#Color(float, float, float) 171 171 */ 172 172 public static Color rgb(float r, float g, float b) { … … 196 196 /** 197 197 * Get the value of the red color channel in the rgb color model 198 * @see {@link java.awt.Color#getRed()}198 * @see java.awt.Color#getRed() 199 199 */ 200 200 public static float red(Color c) { … … 204 204 /** 205 205 * Get the value of the green color channel in the rgb color model 206 * @see {@link java.awt.Color#getGreen()}206 * @see java.awt.Color#getGreen() 207 207 */ 208 208 public static float green(Color c) { … … 212 212 /** 213 213 * Get the value of the blue color channel in the rgb color model 214 * @see {@link java.awt.Color#getBlue()}214 * @see java.awt.Color#getBlue() 215 215 */ 216 216 public static float blue(Color c) { … … 341 341 /** 342 342 * Determines if the objects {@code a} and {@code b} are equal. 343 * @see {@link Object#equals(Object)}343 * @see Object#equals(Object) 344 344 */ 345 345 public static boolean equal(Object a, Object b) { … … 372 372 * Obtains the JOSM'key {@link org.openstreetmap.josm.data.Preferences} string for key {@code key}, 373 373 * and defaults to {@code def} if that is null. 374 * @see {@link org.openstreetmap.josm.data.Preferences#get(String, String)}374 * @see org.openstreetmap.josm.data.Preferences#get(String, String) 375 375 */ 376 376 public static String JOSM_pref(String key, String def) { … … 382 382 * Obtains the JOSM'key {@link org.openstreetmap.josm.data.Preferences} color for key {@code key}, 383 383 * and defaults to {@code def} if that is null. 384 * @see {@link org.openstreetmap.josm.data.Preferences#getColor(String, java.awt.Color)}384 * @see org.openstreetmap.josm.data.Preferences#getColor(String, java.awt.Color) 385 385 */ 386 386 public static Color JOSM_pref_color(String key, Color def) { … … 391 391 /** 392 392 * Tests if string {@code target} matches pattern {@code pattern} 393 * @see {@link Pattern#matches(String, CharSequence)}393 * @see Pattern#matches(String, CharSequence) 394 394 * @since 5699 395 395 */ … … 452 452 /** 453 453 * Returns the OSM id of the current object. 454 * @see {@link org.openstreetmap.josm.data.osm.AbstractPrimitive#generateUniqueId()}454 * @see OsmPrimitive#getUniqueId() 455 455 */ 456 456 public long osm_id() { … … 470 470 /** 471 471 * Returns the substring of {@code s} starting at index {@code begin} (inclusive, 0-indexed). 472 * * @see {@link String#substring(int)}472 * @see String#substring(int) 473 473 */ 474 474 public static String substring(String s, /* due to missing Cascade.convertTo for int*/ float begin) { … … 479 479 * Returns the substring of {@code s} starting at index {@code begin} (inclusive) 480 480 * and ending at index {@code end}, (exclusive, 0-indexed). 481 * @see {@link String#substring(int, int)}481 * @see String#substring(int, int) 482 482 */ 483 483 public static String substring(String s, float begin, float end) { … … 487 487 /** 488 488 * Replaces in {@code s} every {@code} target} substring by {@code replacement}. 489 * * @see {@link String#replace(CharSequence, CharSequence)}489 * * @see String#replace(CharSequence, CharSequence) 490 490 */ 491 491 public static String replace(String s, String target, String replacement) { -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r6578 r6610 100 100 } 101 101 102 /** 103 * Returns the first element from {@code items} which is non-null, or null if all elements are null. 104 */ 102 105 public static <T> T firstNonNull(T... items) { 103 106 for (T i : items) {
Note:
See TracChangeset
for help on using the changeset viewer.