Changeset 6295 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/projection/UTMProjectionChoice.java
- Timestamp:
- 2013-10-04T01:20:31+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/projection/UTMProjectionChoice.java
r6083 r6295 33 33 } 34 34 35 /** 36 * Constructs a new {@code UTMProjectionChoice}. 37 */ 35 38 public UTMProjectionChoice() { 36 39 super(tr("UTM"), "core:utm", cbEntries.toArray(), tr("UTM Zone")); … … 96 99 @Override 97 100 public Collection<String> getPreferences(JPanel panel) { 101 if (!(panel instanceof UTMPanel)) { 102 throw new IllegalArgumentException(); 103 } 98 104 UTMPanel p = (UTMPanel) panel; 99 105 int index = p.prefcb.getSelectedIndex(); … … 133 139 Hemisphere hemisphere = DEFAULT_HEMISPHERE; 134 140 135 if (args != null) {141 if (args != null) { 136 142 String[] array = args.toArray(new String[args.size()]); 137 143 … … 155 161 return defaultIndex; 156 162 } 157 158 163 }
Note:
See TracChangeset
for help on using the changeset viewer.