Changeset 7005 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
- Timestamp:
- 2014-04-26T17:39:23+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
r6992 r7005 67 67 } 68 68 69 private static List<ProjectionChoice> projectionChoices = new ArrayList< ProjectionChoice>();70 private static Map<String, ProjectionChoice> projectionChoicesById = new HashMap< String, ProjectionChoice>();69 private static List<ProjectionChoice> projectionChoices = new ArrayList<>(); 70 private static Map<String, ProjectionChoice> projectionChoicesById = new HashMap<>(); 71 71 72 72 // some ProjectionChoices that are referenced from other parts of the code … … 247 247 private static final CollectionProperty PROP_SUB_PROJECTION = new CollectionProperty("projection.sub", null); 248 248 public static final StringProperty PROP_SYSTEM_OF_MEASUREMENT = new StringProperty("system_of_measurement", "Metric"); 249 private static final String[] unitsValues = (new ArrayList< String>(SystemOfMeasurement.ALL_SYSTEMS.keySet())).toArray(new String[0]);249 private static final String[] unitsValues = (new ArrayList<>(SystemOfMeasurement.ALL_SYSTEMS.keySet())).toArray(new String[0]); 250 250 private static final String[] unitsValuesTr = new String[unitsValues.length]; 251 251 static {
Note:
See TracChangeset
for help on using the changeset viewer.