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/gui/conflict/pair/relation/RelationMemberListMergeModel.java

    r1954 r2070  
    2525    public boolean isEqualEntry(RelationMember e1, RelationMember e2) {
    2626        boolean ret = e1.getRole().equals(e2.getRole());
    27         if (e1.getMember().id > 0 ) {
    28             ret = ret && (e1.getMember().id == e2.getMember().id);
     27        if (e1.getMember().getId() > 0 ) {
     28            ret = ret && (e1.getMember().getId() == e2.getMember().getId());
    2929        } else {
    3030            ret = ret && (e1 == e2);
     
    4242            public boolean isCellEditable(int row, int column) {
    4343                switch(column) {
    44                 case 1: return true;
    45                 default: return false;
     44                    case 1: return true;
     45                    default: return false;
    4646                }
    4747            }
Note: See TracChangeset for help on using the changeset viewer.