Ignore:
Timestamp:
2014-05-09T05:32:37+02:00 (10 years ago)
Author:
Don-vip
Message:

see #8465 - replace Utils.UTF_8 by StandardCharsets.UTF_8, new in Java 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmHistoryReader.java

    r7012 r7082  
    77import java.io.InputStream;
    88import java.io.InputStreamReader;
     9import java.nio.charset.StandardCharsets;
    910
    1011import javax.xml.parsers.ParserConfigurationException;
     
    1718import org.openstreetmap.josm.gui.progress.ProgressMonitor;
    1819import org.openstreetmap.josm.tools.CheckParameterUtil;
    19 import org.openstreetmap.josm.tools.Utils;
    2020import org.xml.sax.Attributes;
    2121import org.xml.sax.InputSource;
     
    8383     */
    8484    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));
    8686        progressMonitor.beginTask(tr("Parsing OSM history data ..."));
    8787        try {
Note: See TracChangeset for help on using the changeset viewer.