Changeset 11620 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2017-02-25T20:47:05+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r11399 r11620 1227 1227 parser.parse(new InputSource(is)); 1228 1228 } 1229 } catch (SAXReturnException r) {1230 Main.trace( r);1231 return r.getResult();1229 } catch (SAXReturnException e) { 1230 Main.trace(e); 1231 return e.getResult(); 1232 1232 } catch (IOException | SAXException | ParserConfigurationException e) { 1233 1233 Main.warn("Parsing " + base + fn + " failed:\n" + e); -
trunk/src/org/openstreetmap/josm/tools/OsmUrlToBounds.java
r11329 r11620 41 41 url = Utils.decodeUrl(url); 42 42 } 43 } catch (IllegalArgumentException x) {44 Main.error( x);43 } catch (IllegalArgumentException ex) { 44 Main.error(ex); 45 45 } 46 46 Bounds b = parseShortLink(url); … … 82 82 z == null ? 18 : Integer.parseInt(z)); 83 83 } 84 } catch (NumberFormatException | NullPointerException | ArrayIndexOutOfBoundsException x) {85 Main.error( x);84 } catch (NumberFormatException | NullPointerException | ArrayIndexOutOfBoundsException ex) { 85 Main.error(ex); 86 86 } 87 87 return b; -
trunk/src/org/openstreetmap/josm/tools/date/DateUtils.java
r11288 r11620 50 50 try { 51 51 fact = DatatypeFactory.newInstance(); 52 } catch (DatatypeConfigurationException ce) {53 Main.error( ce);52 } catch (DatatypeConfigurationException e) { 53 Main.error(e); 54 54 } 55 55 XML_DATE = fact; 56 56 } 57 57 58 /** 59 * Constructs a new {@code DateUtils}. 60 */ 58 61 protected DateUtils() { 59 62 // Hide default constructor for utils classes
Note:
See TracChangeset
for help on using the changeset viewer.