Changeset 15717 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSRule.java
- Timestamp:
- 2020-01-18T14:14:01+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSRule.java
r12379 r15717 4 4 import java.util.List; 5 5 import java.util.Objects; 6 import java.util.stream.Collectors; 6 7 7 8 import org.openstreetmap.josm.gui.mappaint.Environment; 8 9 import org.openstreetmap.josm.gui.mappaint.StyleSource; 9 import org.openstreetmap.josm.tools.Utils;10 10 11 11 /** … … 109 109 @Override 110 110 public String toString() { 111 return selector + " {\n " + Utils.join("\n ", declaration.instructions) + "\n}"; 111 return selector + declaration.instructions.stream() 112 .map(String::valueOf) 113 .collect(Collectors.joining("\n ", " {\n ", "\n}")); 112 114 } 113 115 }
Note:
See TracChangeset
for help on using the changeset viewer.
