Changeset 8741 in josm for trunk/src/org
- Timestamp:
- 2015-09-10T08:45:02+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java
r8674 r8741 656 656 public String toString() { 657 657 return base + (Range.ZERO_TO_INFINITY.equals(range) ? "" : range) + Utils.join("", conds) 658 + (subpart != null ? "::" + subpart : "");658 + (subpart != null && subpart != Subpart.DEFAULT_SUBPART ? "::" + subpart : ""); 659 659 } 660 660 } -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Subpart.java
r8624 r8741 29 29 return id; 30 30 } 31 32 @Override 33 public String toString() { 34 return id; 35 } 31 36 } 32 37 … … 47 52 return Cascade.convertTo(id.evaluate(env), String.class); 48 53 } 54 55 @Override 56 public String toString() { 57 return String.valueOf(id); 58 } 49 59 } 50 60 }
Note:
See TracChangeset
for help on using the changeset viewer.