Ignore:
Timestamp:
2009-07-11T09:32:42+02:00 (15 years ago)
Author:
Gubaer
Message:

added: improved tag editor grid in relation editor (borrowed code from tag editor plugin)
removed: realEqual() on OsmPrimitive, Node, etc.

File:
1 edited

Legend:

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

    r1750 r1762  
    107107    }
    108108
    109     /**
    110      * @deprecated
    111      * @see #hasEqualSemanticAttributes(OsmPrimitive)
    112      * @see #hasEqualTechnicalAttributes(OsmPrimitive)
    113      */
    114     @Deprecated
    115     @Override public boolean realEqual(OsmPrimitive osm, boolean semanticOnly) {
    116         if (osm instanceof Node) {
    117             if (super.realEqual(osm, semanticOnly)) {
    118                 if ((coor == null) && ((Node)osm).coor == null)
    119                     return true;
    120                 if (coor != null)
    121                     return coor.equals(((Node)osm).coor);
    122             }
    123         }
    124         return false;
    125     }
    126 
    127109    @Override
    128110    public boolean hasEqualSemanticAttributes(OsmPrimitive other) {
Note: See TracChangeset for help on using the changeset viewer.