- Timestamp:
- 2023-01-17T15:05:33+01:00 (21 months ago)
- Location:
- trunk
- Files:
-
- 4 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) -
trunk/test/unit/org/openstreetmap/josm/plugins/PluginHandlerTestIT.java
r18636 r18637 188 188 if (org.openstreetmap.josm.data.validation.Test.class.isAssignableFrom(clazz) 189 189 && !Objects.equals(org.openstreetmap.josm.data.validation.Test.class, clazz)) { 190 // clazz.getName().hashCode() is how the base error codes are calculated since xxx190 // clazz.getName().hashCode() is how the base error codes are calculated since r18636 191 191 // We want to avoid cases where the hashcode is too close, so we want to 192 192 // ensure that there is at least 1m available codes after the hashCode.
Note:
See TracChangeset
for help on using the changeset viewer.