Ignore:
Timestamp:
2018-12-01T22:33:38+01:00 (5 years ago)
Author:
Don-vip
Message:

fix #17053 - ignore MapCSS declarations starting with "-" to allow external extensions (used by osmose)

File:
1 edited

Legend:

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

    r14469 r14481  
    22package org.openstreetmap.josm.data.validation.tests;
    33
    4 import static org.openstreetmap.josm.data.validation.tests.MapCSSTagChecker.FixCommand.evaluateObject;
    54import static org.openstreetmap.josm.tools.I18n.tr;
    65
     
    491490                        } else if (val != null && "group".equals(ai.key)) {
    492491                            check.group = val;
     492                        } else if (ai.key.startsWith("-")) {
     493                            Logging.debug("Ignoring extension instruction: " + ai.key + ": " + ai.val);
    493494                        } else {
    494495                            throw new IllegalDataException("Cannot add instruction " + ai.key + ": " + ai.val + '!');
Note: See TracChangeset for help on using the changeset viewer.