Changeset 3117 in josm for trunk


Ignore:
Timestamp:
2010-03-11T21:04:34+01:00 (10 years ago)
Author:
jttt
Message:

Enable check for referenced deleted primitive by default

Location:
trunk/src/org/openstreetmap/josm/data/osm
Files:
2 edited

Legend:

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

    r3107 r3117  
    388388                    throw new DataIntegrityProblemException(String.format("Relation member must be part of the same dataset as relation(%s, %s)", getPrimitiveId(), rm.getMember().getPrimitiveId()));
    389389            }
    390             if (Main.pref.getBoolean("debug.checkDeleteReferenced")) {
     390            if (Main.pref.getBoolean("debug.checkDeleteReferenced", true)) {
    391391                for (RelationMember rm: members) {
    392392                    if (rm.getMember().isDeleted())
  • trunk/src/org/openstreetmap/josm/data/osm/Way.java

    r3032 r3117  
    372372                    throw new DataIntegrityProblemException("Nodes in way must be in the same dataset");
    373373            }
    374             if (Main.pref.getBoolean("debug.checkDeleteReferenced")) {
     374            if (Main.pref.getBoolean("debug.checkDeleteReferenced", true)) {
    375375                for (Node n: nodes) {
    376376                    if (n.isDeleted())
Note: See TracChangeset for help on using the changeset viewer.