Ignore:
Timestamp:
2017-08-26T00:40:19+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - move SearchCompiler from actions.search to data.osm.search

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java

    r12388 r12656  
    55import java.util.Collections;
    66
    7 import org.openstreetmap.josm.actions.search.SearchCompiler.ParseError;
    87import org.openstreetmap.josm.data.osm.FilterMatcher.FilterType;
     8import org.openstreetmap.josm.data.osm.search.SearchParseError;
    99import org.openstreetmap.josm.tools.SubclassFilteredCollection;
    1010
     
    2828     * @param filters the filters
    2929     * @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 parsed
     30     * @throws SearchParseError if the search expression in a filter cannot be parsed
    3131     * @since 12383
    3232     */
    33     public static boolean executeFilters(Collection<OsmPrimitive> all, Filter... filters) throws ParseError {
     33    public static boolean executeFilters(Collection<OsmPrimitive> all, Filter... filters) throws SearchParseError {
    3434        return executeFilters(all, FilterMatcher.of(filters));
    3535    }
Note: See TracChangeset for help on using the changeset viewer.