Changeset 17786 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2021-04-14T21:29:43+02:00 (3 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/search/SearchCompiler.java
r17749 r17786 309 309 throw new SearchParseError(tr(rxErrorMsg, e.getPattern(), e.getIndex(), e.getMessage()), e); 310 310 } catch (IllegalArgumentException | StringIndexOutOfBoundsException e) { 311 // StringIndexOutOfBoundsException ca tchedbecause of https://bugs.openjdk.java.net/browse/JI-9044959311 // StringIndexOutOfBoundsException caught because of https://bugs.openjdk.java.net/browse/JI-9044959 312 312 // See #13870: To remove after we switch to a version of Java which resolves this bug 313 313 throw new SearchParseError(tr(rxErrorMsgNoPos, regex, e.getMessage()), e); -
trunk/src/org/openstreetmap/josm/data/validation/tests/OverlappingWays.java
r17350 r17786 48 48 private MultiMap<Pair<Node, Node>, WaySegment> nodePairs; 49 49 50 private boolean onlyKn wonLinear;50 private boolean onlyKnownLinear; 51 51 private boolean includeOther; 52 52 private boolean ignoreLayer; … … 84 84 nodePairs = new MultiMap<>(1000); 85 85 includeOther = isBeforeUpload ? ValidatorPrefHelper.PREF_OTHER_UPLOAD.get() : ValidatorPrefHelper.PREF_OTHER.get(); 86 onlyKn wonLinear = Config.getPref().getBoolean("overlapping-ways.only-known-linear", true);86 onlyKnownLinear = Config.getPref().getBoolean("overlapping-ways.only-known-linear", true); 87 87 ignoreLayer = Config.getPref().getBoolean("overlapping-ways.ignore-layer", false); 88 88 } … … 193 193 type = OVERLAPPING_WATERWAY_LINEAR_WAY; 194 194 severity = Severity.WARNING; 195 } else if (!includeOther || onlyKn wonLinear) {195 } else if (!includeOther || onlyKnownLinear) { 196 196 return; 197 197 } else if (countHighway > 0) { … … 270 270 return; 271 271 272 if (onlyKn wonLinear && (w.concernsArea() || w.getInterestingTags().isEmpty()))272 if (onlyKnownLinear && (w.concernsArea() || w.getInterestingTags().isEmpty())) 273 273 return; 274 274
Note:
See TracChangeset
for help on using the changeset viewer.