Changeset 5889 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2013-04-20T15:50:18+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/AutosaveTask.java
r5874 r5889 295 295 try { 296 296 String jvmId = reader.readLine(); 297 String pid = jvmId.split("@")[0]; 298 skipFile = jvmPerfDataFileExists(pid); 297 if (jvmId != null) { 298 String pid = jvmId.split("@")[0]; 299 skipFile = jvmPerfDataFileExists(pid); 300 } 299 301 } catch (Throwable t) { 300 302 System.err.println(t.getClass()+":"+t.getMessage()); -
trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
r5548 r5889 366 366 367 367 public static double parseDouble(Map<String, String> parameters, String parameterName) throws ProjectionConfigurationException { 368 if (!parameters.containsKey(parameterName)) 369 throw new IllegalArgumentException(tr("Unknown parameter ''{0}''", parameterName)); 368 370 String doubleStr = parameters.get(parameterName); 369 if (doubleStr == null && parameters.containsKey(parameterName))371 if (doubleStr == null) 370 372 throw new ProjectionConfigurationException( 371 373 tr("Expected number argument for parameter ''{0}''", parameterName)); -
trunk/src/org/openstreetmap/josm/data/projection/Projections.java
r5634 r5889 165 165 if (proj != null) return proj; 166 166 ProjectionChoice pc = allProjectionChoicesByCode.get(code); 167 if (pc != null) {167 if (pc == null) { 168 168 Pair<String, String> pair = inits.get(code); 169 169 if (pair == null) return null; … … 183 183 return Collections.unmodifiableCollection(allCodes); 184 184 } 185 186 185 }
Note:
See TracChangeset
for help on using the changeset viewer.