Changeset 16334 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2020-04-18T10:41:26+02:00 (5 years ago)
Author:
simon04
Message:

InternetTags is a Test.TagTest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/InternetTags.java

    r15586 r16334  
    2626 * @since 7489
    2727 */
    28 public class InternetTags extends Test {
     28public class InternetTags extends Test.TagTest {
    2929
    3030    /** Error code for an invalid URL */
     
    123123    }
    124124
    125     private void test(OsmPrimitive p) {
     125    @Override
     126    public void check(OsmPrimitive p) {
    126127        for (String k : p.keySet()) {
    127128            // Test key against URL validator
     
    132133        }
    133134    }
    134 
    135     @Override
    136     public void visit(Node n) {
    137         test(n);
    138     }
    139 
    140     @Override
    141     public void visit(Way w) {
    142         test(w);
    143     }
    144 
    145     @Override
    146     public void visit(Relation r) {
    147         test(r);
    148     }
    149135}
Note: See TracChangeset for help on using the changeset viewer.