Changeset 12656 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/properties/RecentTagCollection.java
- Timestamp:
- 2017-08-26T00:40:19+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/RecentTagCollection.java
r12615 r12656 9 9 10 10 import org.openstreetmap.josm.actions.search.SearchAction; 11 import org.openstreetmap.josm.actions.search.SearchCompiler;12 11 import org.openstreetmap.josm.data.osm.Tag; 12 import org.openstreetmap.josm.data.osm.search.SearchParseError; 13 import org.openstreetmap.josm.data.osm.search.SearchCompiler; 13 14 import org.openstreetmap.josm.data.preferences.CollectionProperty; 14 15 … … 81 82 } 82 83 83 public void setTagsToIgnore(SearchAction.SearchSetting tagsToIgnore) throws Search Compiler.ParseError {84 public void setTagsToIgnore(SearchAction.SearchSetting tagsToIgnore) throws SearchParseError { 84 85 setTagsToIgnore(tagsToIgnore.text.isEmpty() ? SearchCompiler.Never.INSTANCE : SearchCompiler.compile(tagsToIgnore)); 85 86 } 86 87 87 public SearchAction.SearchSetting ignoreTag(Tag tagToIgnore, SearchAction.SearchSetting settingToUpdate) throws Search Compiler.ParseError {88 public SearchAction.SearchSetting ignoreTag(Tag tagToIgnore, SearchAction.SearchSetting settingToUpdate) throws SearchParseError { 88 89 final String forTag = SearchCompiler.buildSearchStringForTag(tagToIgnore.getKey(), tagToIgnore.getValue()); 89 90 settingToUpdate.text = settingToUpdate.text.isEmpty()
Note:
See TracChangeset
for help on using the changeset viewer.