Changeset 10404 in josm for trunk/src/org/openstreetmap/josm/tools/bugreport/BugReportSender.java
- Timestamp:
- 2016-06-16T19:10:53+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/bugreport/BugReportSender.java
r10067 r10404 18 18 import javax.swing.JPanel; 19 19 import javax.swing.SwingUtilities; 20 import javax.xml.parsers.DocumentBuilder;21 import javax.xml.parsers.DocumentBuilderFactory;22 20 import javax.xml.parsers.ParserConfigurationException; 23 21 import javax.xml.xpath.XPath; … … 100 98 101 99 try (InputStream in = connection.getContent()) { 102 DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); 103 Document document = builder.parse(in); 104 return retrieveDebugToken(document); 100 return retrieveDebugToken(Utils.parseSafeDOM(in)); 105 101 } 106 102 } catch (IOException | SAXException | ParserConfigurationException | XPathExpressionException t) {
Note:
See TracChangeset
for help on using the changeset viewer.