Changeset 12907 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-09-29T13:26:48+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/RenderingCLI.java
r12906 r12907 252 252 try { 253 253 argBounds = new Bounds(getopt.getOptarg(), ",", Bounds.ParseMethod.LEFT_BOTTOM_RIGHT_TOP, false); 254 } catch (IllegalArgumentException iae) { 254 } catch (IllegalArgumentException iae) { // NOPMD 255 255 throw new IllegalArgumentException(tr("Unable to parse {0} parameter: {1}", "--bounds", iae.getMessage())); 256 256 } … … 292 292 double lat = LatLonParser.parseCoordinate(parts[1]); 293 293 argAnchor = new LatLon(lat, lon); 294 } catch (IllegalArgumentException iae) { 294 } catch (IllegalArgumentException iae) { // NOPMD 295 295 throw new IllegalArgumentException(tr("In option {0}: {1}", "--anchor", iae.getMessage())); 296 296 } … … 436 436 Config.getPref().putBoolean("mappaint.auto_reload_local_styles", false); // unnecessary to listen for external changes 437 437 String projCode = Optional.ofNullable(argProjection).orElse("epsg:3857"); 438 Main.setProjection(Projections.getProjectionByCode(projCode.toUpperCase( )));438 Main.setProjection(Projections.getProjectionByCode(projCode.toUpperCase(Locale.US))); 439 439 440 440 RightAndLefthandTraffic.initialize();
Note:
See TracChangeset
for help on using the changeset viewer.