Ignore:
Timestamp:
2009-12-27T16:51:22+01:00 (16 years ago)
Author:
mjulius
Message:

fixes #4149 - exception when undoing reversal of way with tag corrections

don't try to undo Command for a primitive that does not belong to a dataset

fixes issue with ChangeRelationMemberRoleCommand.undoCommand() doing nothing except resetting modified flag
don't reverse tags on way nodes when reversing way
reversing way now also reverses 'incline=*' tags

File:
1 edited

Legend:

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

    r2573 r2683  
    3535        return REVERSE_VALUES.contains(value);
    3636    }
     37
     38    public static boolean isTrue(String value) {
     39        return TRUE_VALUES.contains(value);
     40    }
     41
     42    public static boolean isFalse(String value) {
     43        return FALSE_VALUES.contains(value);
     44    }
    3745}
Note: See TracChangeset for help on using the changeset viewer.