Changeset 16334 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2020-04-18T10:41:26+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/InternetTags.java
r15586 r16334 26 26 * @since 7489 27 27 */ 28 public class InternetTags extends Test {28 public class InternetTags extends Test.TagTest { 29 29 30 30 /** Error code for an invalid URL */ … … 123 123 } 124 124 125 private void test(OsmPrimitive p) { 125 @Override 126 public void check(OsmPrimitive p) { 126 127 for (String k : p.keySet()) { 127 128 // Test key against URL validator … … 132 133 } 133 134 } 134 135 @Override136 public void visit(Node n) {137 test(n);138 }139 140 @Override141 public void visit(Way w) {142 test(w);143 }144 145 @Override146 public void visit(Relation r) {147 test(r);148 }149 135 }
Note:
See TracChangeset
for help on using the changeset viewer.