Ignore:
Timestamp:
2009-09-06T23:07:33+02:00 (15 years ago)
Author:
Gubaer
Message:

new: rewrite of CombineWay action
new: conflict resolution dialog for CombineWay, including conflicts for different relation memberships
cleanup: cleanup in OsmReader, reduces memory footprint and reduces parsing time
cleanup: made most of the public fields in OsmPrimitive @deprecated, added accessors and changed the code
cleanup: replaced usages of @deprecated constructors for ExtendedDialog
fixed #3208: Combine ways brokes relation order

WARNING: this changeset touches a lot of code all over the code base. "latest" might become slightly unstable in the next days. Also experience incompatibility issues with plugins in the next few days.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/PurgePrimitivesCommand.java

    r1938 r2070  
    185185            if (pair.getParent() instanceof Way) {
    186186                Way w = (Way)pair.getParent();
    187                 System.out.println(tr("removing reference from way {0}",w.id));
     187                System.out.println(tr("removing reference from way {0}",w.getId()));
    188188                List<Node> wayNodes = w.getNodes();
    189189                wayNodes.remove(primitive);
     
    194194                if (w.getNodesCount() < 2) {
    195195                    System.out.println(tr("Warning: Purging way {0} because number of nodes dropped below 2. Current is {1}",
    196                             w.id,w.getNodesCount()));
     196                            w.getId(),w.getNodesCount()));
    197197                    if (!hive.contains(w)) {
    198198                        hive.add(w);
     
    201201            } else if (pair.getParent() instanceof Relation) {
    202202                Relation r = (Relation)pair.getParent();
    203                 System.out.println(tr("removing reference from relation {0}",r.id));
     203                System.out.println(tr("removing reference from relation {0}",r.getId()));
    204204                r.removeMembersFor(primitive);
    205205            }
Note: See TracChangeset for help on using the changeset viewer.