- Timestamp:
- 2018-04-27T01:13:57+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/RightAngleBuildingTest.java
r13689 r13690 52 52 .primitives(w) 53 53 .highlight(pair.b); 54 if (angles.stream().noneMatch(p -> Math.abs(p.a - 90) >= maxAngleDelta)) { 54 if (angles.stream().noneMatch( 55 p -> Math.abs(p.a - 90) >= maxAngleDelta && Math.abs(p.a - 180) >= minAngleDelta)) { 55 56 builder.fix(() -> { 56 57 try { … … 72 73 super.startTest(monitor); 73 74 maxAngleDelta = Config.getPref().getDouble("validator.RightAngleBuilding.maximumDelta", 10.0); 74 minAngleDelta = Config.getPref().getDouble("validator.RightAngleBuilding.minimumDelta", 0. 1);75 minAngleDelta = Config.getPref().getDouble("validator.RightAngleBuilding.minimumDelta", 0.25); 75 76 } 76 77
Note:
See TracChangeset
for help on using the changeset viewer.