Changeset 10308 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint
- Timestamp:
- 2016-06-01T23:17:40+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/mappaint
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java
r9341 r10308 281 281 if (!hasIndependentElemStyle && !multipolygon.getOuterWays().isEmpty()) { 282 282 Color mpColor = null; 283 StyleElementList mpElemStyles = null;283 StyleElementList mpElemStyles; 284 284 synchronized (ref) { 285 285 mpElemStyles = get(ref, scale, nc); -
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Instruction.java
r8846 r10308 71 71 @Override 72 72 public void execute(Environment env) { 73 Object value = null;73 Object value; 74 74 if (val instanceof Expression) { 75 75 value = ((Expression) val).evaluate(env); … … 88 88 public String toString() { 89 89 return key + ": " + (val instanceof float[] ? Arrays.toString((float[]) val) : 90 val instanceof String ? "String<"+val+'>' : val) + ';';90 (val instanceof String ? ("String<"+val+'>') : val)) + ';'; 91 91 } 92 92 }
Note:
See TracChangeset
for help on using the changeset viewer.