Changeset 7082 in josm for trunk/test/functional/org/openstreetmap
- Timestamp:
- 2014-05-09T05:32:37+02:00 (11 years ago)
- Location:
- trunk/test/functional/org/openstreetmap/josm/io
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/io/MultiFetchServerObjectReaderTest.java
r7081 r7082 14 14 import java.io.OutputStreamWriter; 15 15 import java.io.PrintWriter; 16 import java.nio.charset.StandardCharsets; 16 17 import java.text.MessageFormat; 17 18 import java.util.ArrayList; … … 35 36 import org.openstreetmap.josm.gui.io.UploadStrategySpecification; 36 37 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 37 import org.openstreetmap.josm.tools.Utils;38 38 39 39 public class MultiFetchServerObjectReaderTest { … … 167 167 try ( 168 168 PrintWriter pw = new PrintWriter( 169 new OutputStreamWriter(new FileOutputStream(dataSetCacheOutputFile), Utils.UTF_8)169 new OutputStreamWriter(new FileOutputStream(dataSetCacheOutputFile), StandardCharsets.UTF_8) 170 170 )) { 171 171 logger.info(MessageFormat.format("caching test data set in ''{0}'' ...", dataSetCacheOutputFile.toString())); -
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r7068 r7082 12 12 import java.io.OutputStreamWriter; 13 13 import java.io.PrintWriter; 14 import java.nio.charset.StandardCharsets; 14 15 import java.text.MessageFormat; 15 16 import java.util.ArrayList; … … 36 37 import org.openstreetmap.josm.gui.io.UploadStrategySpecification; 37 38 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 38 import org.openstreetmap.josm.tools.Utils;39 39 40 40 /** … … 173 173 try ( 174 174 PrintWriter pw = new PrintWriter( 175 new OutputStreamWriter(new FileOutputStream(dataSetCacheOutputFile), Utils.UTF_8)175 new OutputStreamWriter(new FileOutputStream(dataSetCacheOutputFile), StandardCharsets.UTF_8) 176 176 )) { 177 177 logger.info(MessageFormat.format("caching test data set in ''{0}'' ...", dataSetCacheOutputFile.toString()));
Note:
See TracChangeset
for help on using the changeset viewer.