Changeset 7509 in josm for trunk/src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java
- Timestamp:
- 2014-09-07T16:33:52+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java
r7252 r7509 50 50 /** The boolean indicating if special values must be ignored or considered only */ 51 51 private final boolean ignore; 52 52 53 53 /** 54 54 * Constructs a new {@code UnclosedWaysCheck}. … … 60 60 this(code, key, engMessage, Collections.<String>emptyList()); 61 61 } 62 62 63 63 /** 64 64 * Constructs a new {@code UnclosedWaysCheck}. … … 71 71 this(code, key, engMessage, ignoredValues, true); 72 72 } 73 73 74 74 /** 75 75 * Constructs a new {@code UnclosedWaysCheck}. … … 87 87 this.ignore = ignore; 88 88 } 89 89 90 90 /** 91 91 * Returns the test error of the given way, if any. … … 106 106 return null; 107 107 } 108 108 109 109 protected boolean isValueErroneous(String value) { 110 110 return value != null && ignore != specialValues.contains(value); … … 149 149 new UnclosedWaysBooleanCheck(1130, "area", marktr("area")), 150 150 }; 151 151 152 152 /** 153 153 * Returns the set of checked OSM keys.
Note:
See TracChangeset
for help on using the changeset viewer.