Changeset 18637 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2023-01-17T15:05:33+01:00 (2 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/validation
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/OsmValidator.java
r18636 r18637 152 152 LongSegment.class, // 3500 .. 3599 153 153 PublicTransportRouteTest.class, // 3600 .. 3699 154 RightAngleBuildingTest.class, // 3700 .. 3799154 // 3700 .. 3799 is automatically removed since it clashed with pt_assistant. 155 155 SharpAngles.class, // 3800 .. 3899 156 156 ConnectivityRelations.class, // 3900 .. 3999 157 157 DirectionNodes.class, // 4000-4099 158 RightAngleBuildingTest.class, // 4100 .. 4199 158 159 }; 159 160 -
trunk/src/org/openstreetmap/josm/data/validation/TestError.java
r18636 r18637 490 490 * Get the unique code for this test. Used for ignore lists. 491 491 * @return The unique code (generated with {@code tester.getClass().getName().hashCode() + code}). 492 * @since xxx492 * @since 18636 493 493 */ 494 494 public int getUniqueCode() { -
trunk/src/org/openstreetmap/josm/data/validation/tests/RightAngleBuildingTest.java
r17405 r18637 44 44 for (Pair<Double, Node> pair: angles) { 45 45 if (checkAngle(pair.a)) { 46 TestError.Builder builder = TestError.builder(this, Severity.OTHER, 3701)46 TestError.Builder builder = TestError.builder(this, Severity.OTHER, 4101) 47 47 .message(tr("Building with an almost square angle")) 48 48 .primitives(w)
Note:
See TracChangeset
for help on using the changeset viewer.