Changeset 11383 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
- Timestamp:
- 2016-12-12T17:29:27+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
r11374 r11383 622 622 matchingRuleIndex = wayRules; 623 623 } 624 } else { 624 } else if (osm instanceof Relation) { 625 625 if (((Relation) osm).isMultipolygon()) { 626 626 matchingRuleIndex = multipolygonRules; … … 630 630 matchingRuleIndex = relationRules; 631 631 } 632 } 633 634 // the declaration indices are sorted, so it suffices to save the 635 // last used index 632 } else { 633 throw new IllegalArgumentException("Unsupported type: " + osm); 634 } 635 636 // the declaration indices are sorted, so it suffices to save the last used index 636 637 int lastDeclUsed = -1; 637 638
Note:
See TracChangeset
for help on using the changeset viewer.
