Changeset 8468 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
- Timestamp:
- 2015-06-06T01:48:41+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
r8444 r8468 767 767 } 768 768 769 /** 770 * Constructs a new {@code SearchPopupMenu}. 771 */ 769 772 public SearchPopupMenu() { 770 773 for (SearchSetting ss: org.openstreetmap.josm.actions.search.SearchAction.getSearchHistory()) { … … 780 783 */ 781 784 protected static class SelectionMenuItem extends JMenuItem implements ActionListener { 782 private final transient DefaultNameFormatter df = DefaultNameFormatter.getInstance();783 785 protected transient Collection<? extends OsmPrimitive> sel; 784 786 785 787 public SelectionMenuItem(Collection<? extends OsmPrimitive> sel) { 786 super();787 788 this.sel = sel; 788 789 int ways = 0; … … 816 817 this.sel=new ArrayList<>(); // empty selection 817 818 } 819 DefaultNameFormatter df = DefaultNameFormatter.getInstance(); 818 820 if (ways + nodes + relations == 1) { 819 821 text.append(": ");
Note:
See TracChangeset
for help on using the changeset viewer.