Changeset 17642 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2021-03-23T00:47:34+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerRule.java
r17640 r17642 17 17 import org.openstreetmap.josm.gui.mappaint.Keyword; 18 18 import org.openstreetmap.josm.gui.mappaint.mapcss.Condition; 19 import org.openstreetmap.josm.gui.mappaint.mapcss.Condition.TagCondition; 19 20 import org.openstreetmap.josm.gui.mappaint.mapcss.Expression; 20 21 import org.openstreetmap.josm.gui.mappaint.mapcss.Instruction; … … 237 238 try { 238 239 final Condition c = matchingSelector.getConditions().get(index); 239 final Tag tag = c instanceof Condition.ToTagConvertable240 ? (( Condition.ToTagConvertable) c).asTag(p)240 final Tag tag = c instanceof TagCondition 241 ? ((TagCondition) c).asTag(p) 241 242 : null; 242 243 if (tag == null) {
Note:
See TracChangeset
for help on using the changeset viewer.