- Timestamp:
- 2018-02-10T01:34:41+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/RenderingCLI.java
r13207 r13399 228 228 case 'z': 229 229 try { 230 argZoom = Integer. parseInt(getopt.getOptarg());230 argZoom = Integer.valueOf(getopt.getOptarg()); 231 231 } catch (NumberFormatException nfe) { 232 232 throw new IllegalArgumentException( … … 307 307 case WIDTH_PX: 308 308 try { 309 argWidthPx = Integer. parseInt(getopt.getOptarg());309 argWidthPx = Integer.valueOf(getopt.getOptarg()); 310 310 } catch (NumberFormatException nfe) { 311 311 throw new IllegalArgumentException( … … 317 317 case HEIGHT_PX: 318 318 try { 319 argHeightPx = Integer. parseInt(getopt.getOptarg());319 argHeightPx = Integer.valueOf(getopt.getOptarg()); 320 320 } catch (NumberFormatException nfe) { 321 321 throw new IllegalArgumentException( … … 330 330 case MAX_IMAGE_SIZE: 331 331 try { 332 argMaxImageSize = Integer. parseInt(getopt.getOptarg());332 argMaxImageSize = Integer.valueOf(getopt.getOptarg()); 333 333 } catch (NumberFormatException nfe) { 334 334 throw new IllegalArgumentException(
Note:
See TracChangeset
for help on using the changeset viewer.