Changeset 18324 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2021-11-20T00:34:04+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/PowerLines.java
r17111 r18324 45 45 /** Values for {@code power} key interpreted as allowed power items */ 46 46 static final Collection<String> POWER_ALLOWED_TAGS = Arrays.asList("switch", "transformer", "busbar", "generator", "switchgear", 47 "portal", "terminal", "insulator" );47 "portal", "terminal", "insulator", "connection"); 48 48 49 49 private final Set<Node> badConnections = new LinkedHashSet<>(); … … 56 56 */ 57 57 public PowerLines() { 58 super(tr("Power lines"), tr("Checks for nodes in power lines that do not have a power=tower/pole tag."));58 super(tr("Power lines"), tr("Checks for nodes in power lines that do not have a power=tower/pole/connection tag.")); 59 59 } 60 60 … … 122 122 if (!isInPowerStation(n)) { 123 123 errors.add(TestError.builder(this, Severity.WARNING, POWER_LINES) 124 .message(tr("Missing power tower/pole within power line"))124 .message(tr("Missing power tower/pole/connection within power line")) 125 125 .primitives(n) 126 126 .build());
Note:
See TracChangeset
for help on using the changeset viewer.