Changeset 34435 in osm for applications/editors/josm/plugins/pdfimport/src/pdfimport/ProjectionInfo.java
- Timestamp:
- 2018-07-27T11:54:47+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pdfimport/src/pdfimport/ProjectionInfo.java
r34398 r34435 26 26 } 27 27 28 public static Projection getProjectionByCode(String code) { 29 return new SingleProjectionChoice(code.toString(), code.toString(), code).getProjection() ; 28 public static Projection getProjectionByCode(String code) { 29 try { 30 ProjectionChoice pc = new SingleProjectionChoice(code.toString(), code.toString(), code); 31 Projection p = pc.getProjection(); 32 return p; 33 } catch (Exception e) { 34 throw new IllegalArgumentException(); 35 } 30 36 31 37 // Projection p = allCodes.get(code);
Note:
See TracChangeset
for help on using the changeset viewer.