Changeset 34599 in osm for applications/editors
- Timestamp:
- 2018-08-24T00:31:57+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/lakewalker/src/org/openstreetmap/josm/plugins/lakewalker/LakewalkerAction.java
r34468 r34599 241 241 242 242 } catch (Exception ex) { 243 ex.printStackTrace();243 Logging.error(ex); 244 244 } 245 245 -
applications/editors/josm/plugins/native-password-manager/src/org/openstreetmap/josm/plugins/npm/InitializationWizard.java
r34472 r34599 361 361 } 362 362 } catch (CredentialsAgentException ex) { 363 ex.printStackTrace();363 Logging.error(ex); 364 364 } 365 365 } … … 376 376 } 377 377 } catch (CredentialsAgentException ex) { 378 ex.printStackTrace();378 Logging.error(ex); 379 379 } 380 380 } … … 390 390 } 391 391 } catch (CredentialsAgentException ex) { 392 ex.printStackTrace();392 Logging.error(ex); 393 393 } 394 394 } -
applications/editors/josm/plugins/o5m/src/org/openstreetmap/josm/plugins/o5m/io/O5mReader.java
r34100 r34599 133 133 ds.setUploadPolicy(UploadPolicy.DISCOURAGED); 134 134 } catch (IOException e) { 135 e.printStackTrace();135 Logging.error(e); 136 136 } 137 137 } -
applications/editors/josm/plugins/seachart/src/s57/S57dat.java
r32909 r34599 7 7 import java.util.Arrays; 8 8 import java.util.EnumMap; 9 10 import org.openstreetmap.josm.tools.Logging; 9 11 10 12 import s57.S57map.Feature; … … 217 219 str = new String(buffer, offset, i, charset); 218 220 } catch (UnsupportedEncodingException e) { 219 e.printStackTrace();221 Logging.error(e); 220 222 } 221 223 offset += i + 1; -
applications/editors/josm/plugins/sumoconvert/src/org/openstreetmap/josm/plugins/sumoconvert/ExportTask.java
r33921 r34599 9 9 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 10 10 import org.openstreetmap.josm.io.OsmTransferException; 11 import org.openstreetmap.josm.tools.Logging; 11 12 import org.xml.sax.SAXException; 12 13 … … 24 25 sumoConvertProperties.load(ExportTask.class.getResourceAsStream("/resources/properties/sumoConvert.properties")); 25 26 } catch (IOException e) { 26 e.printStackTrace();27 Logging.error(e); 27 28 } 28 29 } … … 30 31 @Override 31 32 protected void cancel() { 32 // TODO Auto-generated method stub33 // Do nothing 33 34 } 34 35 35 36 @Override 36 37 protected void finish() { 37 // TODO Auto-generated method stub38 // Do nothing 38 39 } 39 40 … … 49 50 ); 50 51 } catch (IOException e) { 51 e.printStackTrace();52 Logging.error(e); 52 53 } 53 54 } -
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 -
applications/editors/josm/plugins/trustosm/src/org/openstreetmap/josm/plugins/trustosm/util/TrustGPG.java
r34565 r34599 117 117 readGpgFiles(); 118 118 } catch (Exception e) { 119 // TODO Auto-generated catch block 120 e.printStackTrace(); 119 Logging.error(e); 121 120 } 122 121 }
Note:
See TracChangeset
for help on using the changeset viewer.