Changeset 10717 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint
- Timestamp:
- 2016-08-03T15:39:00+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Condition.java
r10715 r10717 166 166 ONE_OF((test, prototype) -> Arrays.asList(test.split("\\s*;\\s*")).contains(prototype)), 167 167 /** The value needs to begin with the reference string. */ 168 BEGINS_WITH( (test, prototype) -> test.startsWith(prototype)),168 BEGINS_WITH(String::startsWith), 169 169 /** The value needs to end with the reference string. */ 170 ENDS_WITH( (test, prototype) -> test.endsWith(prototype)),170 ENDS_WITH(String::endsWith), 171 171 /** The value needs to contain the reference string. */ 172 CONTAINS( (test, prototype) -> test.contains(prototype));172 CONTAINS(String::contains); 173 173 174 174 static final Set<Op> NEGATED_OPS = EnumSet.of(NEQ, NREGEX);
Note:
See TracChangeset
for help on using the changeset viewer.