Changeset 12656 in josm for trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java
- Timestamp:
- 2017-08-26T00:40:19+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java
r12388 r12656 5 5 import java.util.Collections; 6 6 7 import org.openstreetmap.josm.actions.search.SearchCompiler.ParseError;8 7 import org.openstreetmap.josm.data.osm.FilterMatcher.FilterType; 8 import org.openstreetmap.josm.data.osm.search.SearchParseError; 9 9 import org.openstreetmap.josm.tools.SubclassFilteredCollection; 10 10 … … 28 28 * @param filters the filters 29 29 * @return true, if the filter state (normal / disabled / hidden) of any primitive has changed in the process 30 * @throws ParseError if the search expression in a filter cannot be parsed30 * @throws SearchParseError if the search expression in a filter cannot be parsed 31 31 * @since 12383 32 32 */ 33 public static boolean executeFilters(Collection<OsmPrimitive> all, Filter... filters) throws ParseError {33 public static boolean executeFilters(Collection<OsmPrimitive> all, Filter... filters) throws SearchParseError { 34 34 return executeFilters(all, FilterMatcher.of(filters)); 35 35 }
Note:
See TracChangeset
for help on using the changeset viewer.