Changeset 7005 in josm for trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
- Timestamp:
- 2014-04-26T17:39:23+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
r6990 r7005 75 75 public boolean hasValue; 76 76 77 public static final Map<String, Param> paramsByKey = new HashMap< String, Param>();77 public static final Map<String, Param> paramsByKey = new HashMap<>(); 78 78 static { 79 79 for (Param p : Param.values()) { … … 161 161 162 162 private Map<String, String> parseParameterList(String pref) throws ProjectionConfigurationException { 163 Map<String, String> parameters = new HashMap< String, String>();163 Map<String, String> parameters = new HashMap<>(); 164 164 String[] parts = Utils.WHITE_SPACES_PATTERN.split(pref.trim()); 165 165 if (pref.trim().isEmpty()) { … … 292 292 if (numStr.length != 3 && numStr.length != 7) 293 293 throw new ProjectionConfigurationException(tr("Unexpected number of arguments for parameter ''towgs84'' (must be 3 or 7)")); 294 List<Double> towgs84Param = new ArrayList< Double>();294 List<Double> towgs84Param = new ArrayList<>(); 295 295 for (String str : numStr) { 296 296 try {
Note:
See TracChangeset
for help on using the changeset viewer.