Ignore:
Timestamp:
2013-09-04T00:37:59+02:00 (11 years ago)
Author:
Don-vip
Message:

fix #9042 - Robustness to invalid .osm files containing null coordinates

File:
1 edited

Legend:

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

    r6140 r6215  
    267267            throw new IllegalStateException(tr("Cannot assign a changesetId > 0 to a new primitive. Value of changesetId is {0}", changesetId));
    268268
    269         int old = this.changesetId;
    270269        this.changesetId = changesetId;
    271270    }
     
    716715     * @param key the key forming the tag.
    717716     * @param values one or many values forming the tag.
    718      * @return true iff primitive contains a tag consisting of {@code key} and any of {@code values}.
     717     * @return true if primitive contains a tag consisting of {@code key} and any of {@code values}.
    719718     */
    720719    public boolean hasTag(String key, String... values) {
Note: See TracChangeset for help on using the changeset viewer.