Changeset 6316 in josm for trunk/src/org/openstreetmap/josm/gui/preferences
- Timestamp:
- 2013-10-07T20:18:17+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/preferences
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/SourceEditor.java
r6248 r6316 465 465 466 466 public List<ExtendedSourceEntry> getSelected() { 467 ArrayList<ExtendedSourceEntry> ret = new ArrayList<ExtendedSourceEntry>();467 List<ExtendedSourceEntry> ret = new ArrayList<ExtendedSourceEntry>(); 468 468 for(int i=0; i<data.size();i++) { 469 469 if (selectionModel.isSelectedIndex(i)) { … … 998 998 999 999 protected static class IconPathTableModel extends AbstractTableModel { 1000 private ArrayList<String> data;1000 private List<String> data; 1001 1001 private DefaultListSelectionModel selectionModel; 1002 1002 -
trunk/src/org/openstreetmap/josm/gui/preferences/advanced/AdvancedPreference.java
r6296 r6316 200 200 201 201 private void exportSelectedToXML() { 202 ArrayList<String> keys = new ArrayList<String>();202 List<String> keys = new ArrayList<String>(); 203 203 boolean hasLists = false; 204 204 -
trunk/src/org/openstreetmap/josm/gui/preferences/advanced/ExportProfileAction.java
r6248 r6316 7 7 import java.io.File; 8 8 import java.util.ArrayList; 9 import java.util.List; 9 10 import java.util.Map; 10 11 … … 37 38 @Override 38 39 public void actionPerformed(ActionEvent ae) { 39 ArrayList<String> keys = new ArrayList<String>();40 List<String> keys = new ArrayList<String>(); 40 41 Map<String, Setting> all = prefs.getAllSettings(); 41 42 for (String key: all.keySet()) { -
trunk/src/org/openstreetmap/josm/gui/preferences/display/ColorPreference.java
r6084 r6316 12 12 import java.util.ArrayList; 13 13 import java.util.HashMap; 14 import java.util.List; 14 15 import java.util.Map; 15 16 import java.util.Map.Entry; … … 60 61 private DefaultTableModel tableModel; 61 62 private JTable colors; 62 private ArrayList<String> del = new ArrayList<String>();63 private List<String> del = new ArrayList<String>(); 63 64 64 65 JButton colorEdit; -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/UTMProjectionChoice.java
r6295 r6316 110 110 @Override 111 111 public String[] allCodes() { 112 ArrayList<String> projections = new ArrayList<String>(60*4);112 List<String> projections = new ArrayList<String>(60*4); 113 113 for (int zone = 1;zone <= 60; zone++) { 114 114 for (Hemisphere hemisphere : Hemisphere.values()) { -
trunk/src/org/openstreetmap/josm/gui/preferences/shortcut/PrefJPanel.java
r6248 r6316 16 16 import java.util.ArrayList; 17 17 import java.util.LinkedHashMap; 18 import java.util.List; 18 19 import java.util.Map; 19 20 import java.util.regex.PatternSyntaxException; … … 373 374 expr = expr.replace("+", "\\+"); 374 375 // split search string on whitespace, do case-insensitive AND search 375 ArrayList<RowFilter<Object, Object>> andFilters = new ArrayList<RowFilter<Object, Object>>();376 List<RowFilter<Object, Object>> andFilters = new ArrayList<RowFilter<Object, Object>>(); 376 377 for (String word : expr.split("\\s+")) { 377 378 andFilters.add(RowFilter.regexFilter("(?i)" + word));
Note:
See TracChangeset
for help on using the changeset viewer.