Changeset 10840 in josm
- Timestamp:
- 2016-08-18T17:05:35+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/Symbol.java
r10829 r10840 201 201 */ 202 202 public static Optional<SymbolShape> forName(String val) { 203 return Stream.of(values()).filter( val::equals).findAny();203 return Stream.of(values()).filter(shape -> val.equals(shape.name)).findAny(); 204 204 } 205 205 }
Note:
See TracChangeset
for help on using the changeset viewer.