Changeset 9981 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs
- Timestamp:
- 2016-03-13T17:25:42+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/dialogs/properties
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/RecentTagCollection.java
r9940 r9981 26 26 } 27 27 }; 28 tagsToIgnore = new SearchCompiler.Never();28 tagsToIgnore = SearchCompiler.Never.INSTANCE; 29 29 } 30 30 … … 73 73 74 74 public void setTagsToIgnore(SearchAction.SearchSetting tagsToIgnore) throws SearchCompiler.ParseError { 75 setTagsToIgnore(tagsToIgnore.text.isEmpty() ? new SearchCompiler.Never(): SearchCompiler.compile(tagsToIgnore));75 setTagsToIgnore(tagsToIgnore.text.isEmpty() ? SearchCompiler.Never.INSTANCE : SearchCompiler.compile(tagsToIgnore)); 76 76 } 77 77 -
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java
r9940 r9981 310 310 warnAboutParseError(parseError); 311 311 tagsToIgnore = new SearchAction.SearchSetting(); 312 recentTags.setTagsToIgnore( new SearchCompiler.Never());312 recentTags.setTagsToIgnore(SearchCompiler.Never.INSTANCE); 313 313 } 314 314 }
Note:
See TracChangeset
for help on using the changeset viewer.