Ignore:
Timestamp:
2013-12-27T21:41:52+01:00 (10 years ago)
Author:
simon04
Message:

see #9414 - MapCSS-based tagchecker: unify some checks

File:
1 edited

Legend:

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

    r6549 r6550  
    369369     */
    370370    private void addMapCSS(String internalConfigFile) throws ParseException, UnsupportedEncodingException {
    371         addMapCSS(new InputStreamReader(getClass().getResourceAsStream("/data/validator/"+internalConfigFile), "UTF-8"));
     371        addMapCSS(new InputStreamReader(getClass().getResourceAsStream("/data/validator/" + internalConfigFile + ".mapcss"), "UTF-8"));
    372372    }
    373373
    374374    @Override
    375375    public void initialize() throws Exception {
    376         addMapCSS("deprecated.mapcss");
    377         addMapCSS("highway.mapcss");
    378         addMapCSS("numeric.mapcss");
    379         addMapCSS("religion.mapcss");
    380         addMapCSS("relation.mapcss");
    381         addMapCSS("combinations.mapcss");
    382         addMapCSS("unnecessary.mapcss");
    383         addMapCSS("wikipedia.mapcss");
    384         addMapCSS("power.mapcss");
     376        addMapCSS("deprecated");
     377        addMapCSS("highway");
     378        addMapCSS("numeric");
     379        addMapCSS("religion");
     380        addMapCSS("relation");
     381        addMapCSS("combinations");
     382        addMapCSS("unnecessary");
     383        addMapCSS("wikipedia");
     384        addMapCSS("power");
     385        addMapCSS("geometry");
    385386    }
    386387}
Note: See TracChangeset for help on using the changeset viewer.