Ignore:
Timestamp:
2007-09-30T01:44:08+02:00 (17 years ago)
Author:
gebner
Message:

CombineWayAction: Reorder ways if that makes it possible to combine them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branch/0.5/src/org/openstreetmap/josm/data/osm/NodePair.java

    r330 r335  
    3030                return l;
    3131        }
     32
     33        public void sort() {
     34                if (b.hashCode() < a.hashCode()) {
     35                        Node tmp = a;
     36                        a = b;
     37                        b = tmp;
     38                }
     39        }
    3240}
Note: See TracChangeset for help on using the changeset viewer.