Changeset 7082 in josm for trunk/src/org/openstreetmap/josm/io/OsmHistoryReader.java
- Timestamp:
- 2014-05-09T05:32:37+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmHistoryReader.java
r7012 r7082 7 7 import java.io.InputStream; 8 8 import java.io.InputStreamReader; 9 import java.nio.charset.StandardCharsets; 9 10 10 11 import javax.xml.parsers.ParserConfigurationException; … … 17 18 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 18 19 import org.openstreetmap.josm.tools.CheckParameterUtil; 19 import org.openstreetmap.josm.tools.Utils;20 20 import org.xml.sax.Attributes; 21 21 import org.xml.sax.InputSource; … … 83 83 */ 84 84 public HistoryDataSet parse(ProgressMonitor progressMonitor) throws SAXException, IOException { 85 InputSource inputSource = new InputSource(new InputStreamReader(in, Utils.UTF_8));85 InputSource inputSource = new InputSource(new InputStreamReader(in, StandardCharsets.UTF_8)); 86 86 progressMonitor.beginTask(tr("Parsing OSM history data ...")); 87 87 try {
Note:
See TracChangeset
for help on using the changeset viewer.