Changeset 7004 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2014-04-26T15:28:16+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ExifReader.java
r6830 r7004 87 87 final Directory dir = metadata.getDirectory(ExifIFD0Directory.class); 88 88 return dir.getInt(ExifIFD0Directory.TAG_ORIENTATION); 89 } catch (JpegProcessingException e) { 90 Main.error(e); 91 } catch (MetadataException e) { 92 Main.error(e); 93 } catch (IOException e) { 89 } catch (JpegProcessingException | MetadataException | IOException e) { 94 90 Main.error(e); 95 91 } -
trunk/src/org/openstreetmap/josm/tools/OsmUrlToBounds.java
r6920 r7004 28 28 url = URLDecoder.decode(url, "UTF-8"); 29 29 } 30 } catch (UnsupportedEncodingException x) { 31 Main.error(x); 32 } catch (IllegalArgumentException x) { 30 } catch (UnsupportedEncodingException | IllegalArgumentException x) { 33 31 Main.error(x); 34 32 } … … 72 70 z == null ? 18 : Integer.parseInt(z)); 73 71 } 74 } catch (NumberFormatException x) { 75 Main.error(x); 76 } catch (NullPointerException x) { 77 Main.error(x); 78 } catch (ArrayIndexOutOfBoundsException x) { 72 } catch (NumberFormatException | NullPointerException | ArrayIndexOutOfBoundsException x) { 79 73 Main.error(x); 80 74 } -
trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java
r7001 r7004 57 57 } 58 58 return; 59 } catch (IOException e) { 60 Main.warn(e); 61 } catch (URISyntaxException e) { 59 } catch (IOException | URISyntaxException e) { 62 60 Main.warn(e); 63 61 } -
trunk/src/org/openstreetmap/josm/tools/Utils.java
r7003 r7004 461 461 return (String) t.getTransferData(DataFlavor.stringFlavor); 462 462 } 463 } catch (UnsupportedFlavorException ex) { 464 Main.error(ex); 465 return null; 466 } catch (IOException ex) { 463 } catch (UnsupportedFlavorException | IOException ex) { 467 464 Main.error(ex); 468 465 return null;
Note:
See TracChangeset
for help on using the changeset viewer.