Changeset 226 in josm for src


Ignore:
Timestamp:
2007-05-06T16:28:53+02:00 (18 years ago)
Author:
imi
Message:
  • fixed MergeVisitor to not merge two segments with different id's
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/org/openstreetmap/josm/data/osm/visitor/MergeVisitor.java

    r224 r226  
    250250                if (ls1.id == ls2.id && ls1.id != 0)
    251251                        return true;
     252                //if (ls1.id != 0 && ls2.id != 0)
     253                //      return false;
    252254                if (ls1.incomplete || ls2.incomplete)
    253255                        return false;
     
    288290                if (other.keys == null)
    289291                        return;
    290                 if (my.keySet().containsAll(other.keys.entrySet()))
     292                if (my.keySet().containsAll(other.keys.keySet()))
    291293                        return;
    292294                if (my.keys == null)
Note: See TracChangeset for help on using the changeset viewer.