Changeset 12620 in josm for trunk/src/org/openstreetmap/josm/data/projection/Projections.java
- Timestamp:
- 2017-08-22T22:26:32+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/Projections.java
r12294 r12620 45 45 import org.openstreetmap.josm.io.CachedFile; 46 46 import org.openstreetmap.josm.tools.JosmRuntimeException; 47 import org.openstreetmap.josm.tools.Logging; 47 48 import org.openstreetmap.josm.tools.Utils; 48 49 … … 181 182 } 182 183 } catch (ProjectionConfigurationException e) { 183 Main.trace(e);184 Logging.trace(e); 184 185 } 185 186 } … … 316 317 result.add(new ProjectionDefinition(code, name, definition)); 317 318 } else { 318 Main.warn("Failed to parse line from the EPSG projection definition: "+line);319 Logging.warn("Failed to parse line from the EPSG projection definition: "+line); 319 320 } 320 321 } … … 339 340 proj = pc.getProjection(); 340 341 } catch (JosmRuntimeException | IllegalArgumentException | IllegalStateException e) { 341 Main.warn(e, "Unable to get projection "+code+" with "+pc+':');342 Logging.log(Logging.LEVEL_WARN, "Unable to get projection "+code+" with "+pc+':', e); 342 343 } 343 344 }
Note:
See TracChangeset
for help on using the changeset viewer.