Changeset 6610 in josm


Ignore:
Timestamp:
2014-01-03T13:34:53+01:00 (11 years ago)
Author:
simon04
Message:

Fix Javadoc links (@see @link => @see)

Location:
trunk/src/org/openstreetmap/josm
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/TransformNodesCommand.java

    r6566 r6610  
    128128     * Get the center of the nodes under modification.
    129129     * 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)
    131131     */
    132132    public EastNorth getNodesCenter() {
  • trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java

    r6579 r6610  
    605605    /**
    606606     * Returns true if the {@code key} corresponds to an OSM true value.
    607      * @see {@link OsmUtils#isTrue(String) }
     607     * @see OsmUtils#isTrue(String)
    608608     */
    609609    public final boolean isKeyTrue(String key) {
     
    613613    /**
    614614     * Returns true if the {@code key} corresponds to an OSM false value.
    615      * @see {@link OsmUtils#isFalse(String) }
     615     * @see OsmUtils#isFalse(String)
    616616     */
    617617    public final boolean isKeyFalse(String key) {
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagChecker.java

    r6603 r6610  
    289289         *
    290290         * @return a description (possibly with alternative suggestions)
    291          * @see {@link #getDescriptionForMatchingSelector(Selector)}
     291         * @see #getDescriptionForMatchingSelector(Selector)
    292292         */
    293293        String getDescription() {
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java

    r6560 r6610  
    139139        /**
    140140         * Creates a list of values, e.g., for the {@code dashes} property.
    141          * @see {@link Arrays#asList(Object[])}
     141         * @see Arrays#asList(Object[])
    142142         */
    143143        public static List list(Object... args) {
     
    159159        /**
    160160         * 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)
    162162         * @since 5699
    163163         */
     
    168168        /**
    169169         * 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)
    171171         */
    172172        public static Color rgb(float r, float g, float b) {
     
    196196        /**
    197197         * 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()
    199199         */
    200200        public static float red(Color c) {
     
    204204        /**
    205205         * 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()
    207207         */
    208208        public static float green(Color c) {
     
    212212        /**
    213213         * 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()
    215215         */
    216216        public static float blue(Color c) {
     
    341341        /**
    342342         * Determines if the objects {@code a} and {@code b} are equal.
    343          * @see {@link Object#equals(Object)}
     343         * @see Object#equals(Object)
    344344         */
    345345        public static boolean equal(Object a, Object b) {
     
    372372         * Obtains the JOSM'key {@link org.openstreetmap.josm.data.Preferences} string for key {@code key},
    373373         * 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)
    375375         */
    376376        public static String JOSM_pref(String key, String def) {
     
    382382         * Obtains the JOSM'key {@link org.openstreetmap.josm.data.Preferences} color for key {@code key},
    383383         * 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)
    385385         */
    386386        public static Color JOSM_pref_color(String key, Color def) {
     
    391391        /**
    392392         * Tests if string {@code target} matches pattern {@code pattern}
    393          * @see {@link Pattern#matches(String, CharSequence)}
     393         * @see Pattern#matches(String, CharSequence)
    394394         * @since 5699
    395395         */
     
    452452        /**
    453453         * Returns the OSM id of the current object.
    454          * @see {@link org.openstreetmap.josm.data.osm.AbstractPrimitive#generateUniqueId()}
     454         * @see OsmPrimitive#getUniqueId()
    455455         */
    456456        public long osm_id() {
     
    470470        /**
    471471         * 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)
    473473         */
    474474        public static String substring(String s, /* due to missing Cascade.convertTo for int*/ float begin) {
     
    479479         * Returns the substring of {@code s} starting at index {@code begin} (inclusive)
    480480         * and ending at index {@code end}, (exclusive, 0-indexed).
    481          * @see {@link String#substring(int, int)}
     481         * @see String#substring(int, int)
    482482         */
    483483        public static String substring(String s, float begin, float end) {
     
    487487        /**
    488488         * Replaces in {@code s} every {@code} target} substring by {@code replacement}.
    489          * * @see {@link String#replace(CharSequence, CharSequence)}
     489         * * @see String#replace(CharSequence, CharSequence)
    490490         */
    491491        public static String replace(String s, String target, String replacement) {
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r6578 r6610  
    100100    }
    101101
     102    /**
     103     * Returns the first element from {@code items} which is non-null, or null if all elements are null.
     104     */
    102105    public static <T> T firstNonNull(T... items) {
    103106        for (T i : items) {
Note: See TracChangeset for help on using the changeset viewer.