Changeset 34599 in osm for applications/editors/josm/plugins/tag2link
- Timestamp:
- 2018-08-24T00:31:57+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/Tag2LinkRuleChecker.java
r34559 r34599 36 36 import org.openstreetmap.josm.plugins.tag2link.io.SourcesReader; 37 37 import org.openstreetmap.josm.spi.preferences.Config; 38 import org.openstreetmap.josm.tools.Logging; 38 39 39 40 /** … … 120 121 result = result.replaceFirst(Pattern.quote(m.group()), val); 121 122 } catch (UnsupportedEncodingException e) { 122 e.printStackTrace();123 Logging.error(e); 123 124 } 124 125 } else { -
applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/action/OpenMailAction.java
r33150 r34599 25 25 import org.openstreetmap.josm.plugins.tag2link.Tag2LinkConstants; 26 26 import org.openstreetmap.josm.plugins.tag2link.data.Link; 27 import org.openstreetmap.josm.tools.Logging; 27 28 28 29 /** … … 52 53 Desktop.getDesktop().mail(new URI(url)); 53 54 } catch (Exception ex) { 54 ex.printStackTrace();55 Logging.error(ex); 55 56 } 56 57 } -
applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/io/SourcesReader.java
r33150 r34599 41 41 import org.openstreetmap.josm.plugins.tag2link.data.Rule; 42 42 import org.openstreetmap.josm.plugins.tag2link.data.Source; 43 import org.openstreetmap.josm.tools.Logging; 43 44 44 45 /** … … 71 72 XMLStreamReader parser = XMLInputFactory.newInstance().createXMLStreamReader(ir); 72 73 result.addAll(new SourcesReader(parser).parseDoc()); 73 } catch (IOException e) { 74 e.printStackTrace(); 75 } catch (XMLStreamException e) { 76 e.printStackTrace(); 77 } catch (FactoryConfigurationError e) { 78 e.printStackTrace(); 74 } catch (IOException | XMLStreamException | FactoryConfigurationError e) { 75 Logging.error(e); 79 76 } 80 77
Note:
See TracChangeset
for help on using the changeset viewer.