Ignore:
Timestamp:
2017-10-17T20:52:27+02:00 (2 years ago)
Author:
bastiK
Message:

remove trivial overrides, where this doesn't actually break binary compatibility

(This is only a problem if signature or return type of overriding method differs,
generic type T counting as Object.)

File:
1 edited

Legend:

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

    r12813 r13012  
    4141     */
    4242    private Object eastNorthCacheKey;
    43 
    44     /**
    45      * Determines if this node has valid coordinates.
    46      * @return {@code true} if this node has valid coordinates
    47      * @since 7828
    48      */
    49     @Override
    50     public boolean isLatLonKnown() {
    51         // We cannot use default implementation - if we remove this implementation, we will break binary compatibility.
    52         return !Double.isNaN(lat) && !Double.isNaN(lon);
    53     }
    5443
    5544    @Override
Note: See TracChangeset for help on using the changeset viewer.