Changeset 12659 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java
- Timestamp:
- 2017-08-26T00:55:22+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java
r12656 r12659 70 70 import org.openstreetmap.josm.data.osm.Tag; 71 71 import org.openstreetmap.josm.data.osm.search.SearchParseError; 72 import org.openstreetmap.josm.data.osm.search.SearchSetting; 72 73 import org.openstreetmap.josm.data.osm.search.SearchCompiler; 73 74 import org.openstreetmap.josm.data.preferences.BooleanProperty; … … 130 131 Collections.<String>emptyList()); 131 132 public static final StringProperty PROPERTY_TAGS_TO_IGNORE = new StringProperty("properties.recent-tags.ignore", 132 new Search Action.SearchSetting().writeToString());133 new SearchSetting().writeToString()); 133 134 134 135 /** … … 163 164 164 165 final RecentTagCollection recentTags = new RecentTagCollection(MAX_LRU_TAGS_NUMBER); 165 Search Action.SearchSetting tagsToIgnore;166 SearchSetting tagsToIgnore; 166 167 167 168 /** … … 330 331 331 332 void loadTagsToIgnore() { 332 final Search Action.SearchSetting searchSetting = Utils.firstNonNull(333 Search Action.SearchSetting.readFromString(PROPERTY_TAGS_TO_IGNORE.get()), new SearchAction.SearchSetting());333 final SearchSetting searchSetting = Utils.firstNonNull( 334 SearchSetting.readFromString(PROPERTY_TAGS_TO_IGNORE.get()), new SearchSetting()); 334 335 if (!Objects.equals(tagsToIgnore, searchSetting)) { 335 336 try { … … 338 339 } catch (SearchParseError parseError) { 339 340 warnAboutParseError(parseError); 340 tagsToIgnore = new Search Action.SearchSetting();341 tagsToIgnore = new SearchSetting(); 341 342 recentTags.setTagsToIgnore(SearchCompiler.Never.INSTANCE); 342 343 } … … 1024 1025 @Override 1025 1026 public void actionPerformed(ActionEvent e) { 1026 final Search Action.SearchSetting newTagsToIngore = SearchAction.showSearchDialog(tagsToIgnore);1027 final SearchSetting newTagsToIngore = SearchAction.showSearchDialog(tagsToIgnore); 1027 1028 if (newTagsToIngore == null) { 1028 1029 return;
Note:
See TracChangeset
for help on using the changeset viewer.