Changeset 12383 in josm for trunk/src/org/openstreetmap/josm/data/osm/FilterMatcher.java
- Timestamp:
- 2017-06-10T00:50:51+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/FilterMatcher.java
r12121 r12383 325 325 } 326 326 327 /** 328 * Returns a new {@code FilterMatcher} containing the given filters. 329 * @param filters filters to add to the resulting filter matcher 330 * @return a new {@code FilterMatcher} containing the given filters 331 * @throws ParseError if the search expression in a filter cannot be parsed 332 * @since 12383 333 */ 334 public static FilterMatcher of(Filter... filters) throws ParseError { 335 FilterMatcher result = new FilterMatcher(); 336 for (Filter filter : filters) { 337 result.add(filter); 338 } 339 return result; 340 } 327 341 }
Note:
See TracChangeset
for help on using the changeset viewer.