Changeset 7005 in josm for trunk/src/org/openstreetmap/josm/gui/download/PlaceSelection.java
- Timestamp:
- 2014-04-26T17:39:23+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/download/PlaceSelection.java
r6990 r7005 110 110 cbSearchExpression = new HistoryComboBox(); 111 111 cbSearchExpression.setToolTipText(tr("Enter a place name to search for")); 112 List<String> cmtHistory = new LinkedList< String>(Main.pref.getCollection(HISTORY_KEY, new LinkedList<String>()));112 List<String> cmtHistory = new LinkedList<>(Main.pref.getCollection(HISTORY_KEY, new LinkedList<String>())); 113 113 Collections.reverse(cmtHistory); 114 114 cbSearchExpression.setPossibleItems(cmtHistory); … … 195 195 private StringBuffer description = null; 196 196 private int depth = 0; 197 private List<SearchResult> data = new LinkedList< SearchResult>();197 private List<SearchResult> data = new LinkedList<>(); 198 198 199 199 /** … … 389 389 390 390 public NamedResultTableModel(ListSelectionModel selectionModel) { 391 data = new ArrayList< SearchResult>();391 data = new ArrayList<>(); 392 392 this.selectionModel = selectionModel; 393 393 } … … 408 408 this.data.clear(); 409 409 } else { 410 this.data =new ArrayList<SearchResult>(data);410 this.data = new ArrayList<>(data); 411 411 } 412 412 fireTableDataChanged();
Note:
See TracChangeset
for help on using the changeset viewer.