Ignore:
Timestamp:
23.06.2009 22:03:37 (3 years ago)
Author:
Gubaer
Message:

new: MultiFetchServerObjectReader using APIs Multi Fetch method
update: now uses Multi Fetch to check for deleted primitives on the server
update: now uses Multi Fetch to update the selected primitives with the state from the server
fixed: cleaned up merging in MergeVisitor
new: conflict resolution dialog; now resolves conflicts due to different visibilities
new: replacement for realEqual() on OsmPrimitive and derived classes; realEqual now @deprecated
fixed: cleaning up OsmReader
fixed: progress indication in OsmApi

File:
1 edited

Legend:

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

    r1677 r1690  
    7070    } 
    7171 
     72    @Deprecated 
    7273    @Override public boolean realEqual(OsmPrimitive osm, boolean semanticOnly) { 
    7374        return osm instanceof Relation ? super.realEqual(osm, semanticOnly) && members.equals(((Relation)osm).members) : false; 
     75    } 
     76 
     77    @Override 
     78    public boolean hasEqualSemanticAttributes(OsmPrimitive other) { 
     79        if (other == null || ! (other instanceof Relation) ) 
     80            return false; 
     81        if (! super.hasEqualSemanticAttributes(other)) 
     82            return false; 
     83        Relation r = (Relation)other; 
     84        return members.equals(r.members); 
    7485    } 
    7586 
Note: See TracChangeset for help on using the changeset viewer.