Changeset 16119 in josm for trunk/src/org/openstreetmap/josm/data/osm/DatasetConsistencyTest.java
- Timestamp:
- 2020-03-14T13:26:33+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DatasetConsistencyTest.java
r16069 r16119 174 174 final Stopwatch stopwatch = Stopwatch.createStarted(); 175 175 for (Way way : dataSet.getWays()) { 176 if (way.isUsable() && way. getNodesCount() == 0) {176 if (way.isUsable() && way.isEmpty()) { 177 177 printError("WARN - ZERO NODES", "Way %s has zero nodes", way); 178 178 } else if (way.isUsable() && way.getNodesCount() == 1) {
Note:
See TracChangeset
for help on using the changeset viewer.