Ignore:
Timestamp:
2018-10-06T23:29:06+02:00 (6 years ago)
Author:
Don-vip
Message:

see #16781 - fix more typos using https://github.com/vlajos/misspell-fixer

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/Stylable.java

    r13636 r14302  
    55
    66/**
    7  * Object that can be rendered using a cachable style.
     7 * Object that can be rendered using a cacheable style.
    88 * @since 13636
    99 */
  • trunk/src/org/openstreetmap/josm/data/osm/TagCollection.java

    r12620 r14302  
    216216     * @return The number of thimes this tag is used in this collection.
    217217     * @since 10736
    218      */
     218     * @deprecated use {@link #getTagOccurrence}
     219     */
     220    @Deprecated
    219221    public int getTagOccurence(Tag tag) {
     222        return getTagOccurrence(tag);
     223    }
     224
     225    /**
     226     * Gets the number of this this tag was added to the collection.
     227     * @param tag The tag
     228     * @return The number of thimes this tag is used in this collection.
     229     * @since 14301
     230     */
     231    public int getTagOccurrence(Tag tag) {
    220232        return tags.getOrDefault(tag, 0);
    221233    }
  • trunk/src/org/openstreetmap/josm/data/osm/Way.java

    r13922 r14302  
    193193
    194194    /**
    195      * Contructs a new {@code Way} with id 0.
     195     * Constructs a new {@code Way} with id 0.
    196196     * @since 86
    197197     */
     
    201201
    202202    /**
    203      * Contructs a new {@code Way} from an existing {@code Way}.
     203     * Constructs a new {@code Way} from an existing {@code Way}.
    204204     * @param original The original {@code Way} to be identically cloned. Must not be null
    205205     * @param clearMetadata If {@code true}, clears the OSM id and other metadata as defined by {@link #clearOsmMetadata}.
     
    216216
    217217    /**
    218      * Contructs a new {@code Way} from an existing {@code Way} (including its id).
     218     * Constructs a new {@code Way} from an existing {@code Way} (including its id).
    219219     * @param original The original {@code Way} to be identically cloned. Must not be null
    220220     * @since 86
     
    225225
    226226    /**
    227      * Contructs a new {@code Way} for the given id. If the id > 0, the way is marked
     227     * Constructs a new {@code Way} for the given id. If the id > 0, the way is marked
    228228     * as incomplete. If id == 0 then way is marked as new
    229229     *
     
    237237
    238238    /**
    239      * Contructs a new {@code Way} with given id and version.
     239     * Constructs a new {@code Way} with given id and version.
    240240     * @param id the id. >= 0 required
    241241     * @param version the version
  • trunk/src/org/openstreetmap/josm/data/projection/proj/Proj.java

    r10805 r14302  
    9393
    9494    /**
    95      * Checks wether the result of projecting a lon coordinate only has a linear relation to the east coordinate and
     95     * Checks whether the result of projecting a lon coordinate only has a linear relation to the east coordinate and
    9696     * is not related to lat/north at all.
    9797     * @return <code>true</code> if lon has a linear relationship to east only.
  • trunk/src/org/openstreetmap/josm/data/validation/tests/Coastlines.java

    r11608 r14302  
    6464    /**
    6565     * Check connections between coastline ways.
    66      * The nodes of a coastline way have to fullfil these rules:
     66     * The nodes of a coastline way have to fulfil these rules:
    6767     * 1) the first node must be connected to the last node of a coastline way (which might be the same way)
    6868     * 2) the last node must be connected to the first node of a coastline way (which might be the same way)
Note: See TracChangeset for help on using the changeset viewer.