- Timestamp:
- 2016-11-22T15:42:45+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r11272 r11291 686 686 l.addAll(getDiscardableKeys()); 687 687 l.addAll(getWorkInProgressKeys()); 688 uninteresting = Main.pref.getCollection("tags.uninteresting", l);688 uninteresting = new HashSet<>(Main.pref.getCollection("tags.uninteresting", l)); 689 689 } 690 690 return uninteresting; … … 698 698 public static Collection<String> getDiscardableKeys() { 699 699 if (discardable == null) { 700 discardable = Main.pref.getCollection("tags.discardable",700 discardable = new HashSet<>(Main.pref.getCollection("tags.discardable", 701 701 Arrays.asList( 702 702 "created_by", … … 743 743 "yh:WIDTH", 744 744 "yh:WIDTH_RANK" 745 )) ;745 ))); 746 746 } 747 747 return discardable; … … 756 756 public static Collection<String> getWorkInProgressKeys() { 757 757 if (workinprogress == null) { 758 workinprogress = Main.pref.getCollection("tags.workinprogress",759 Arrays.asList("note", "fixme", "FIXME")) ;758 workinprogress = new HashSet<>(Main.pref.getCollection("tags.workinprogress", 759 Arrays.asList("note", "fixme", "FIXME"))); 760 760 } 761 761 return workinprogress;
Note:
See TracChangeset
for help on using the changeset viewer.