Changeset 6995 in josm for trunk/test/functional
- Timestamp:
- 2014-04-23T02:30:39+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
r6920 r6995 10 10 import java.io.File; 11 11 import java.io.FileInputStream; 12 import java.io.File Writer;12 import java.io.FileOutputStream; 13 13 import java.io.IOException; 14 14 import java.io.InputStream; 15 import java.io.OutputStreamWriter; 15 16 import java.io.PrintWriter; 16 17 import java.text.MessageFormat; … … 36 37 import org.openstreetmap.josm.gui.io.UploadStrategySpecification; 37 38 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 39 import org.openstreetmap.josm.tools.Utils; 38 40 39 41 public class MultiFetchServerObjectReaderTest { … … 211 213 try { 212 214 PrintWriter pw = new PrintWriter( 213 new FileWriter(dataSetCacheOutputFile)215 new OutputStreamWriter(new FileOutputStream(dataSetCacheOutputFile), Utils.UTF_8) 214 216 ); 215 217 logger.info(MessageFormat.format("caching test data set in ''{0}'' ...", dataSetCacheOutputFile.toString())); -
trunk/test/functional/org/openstreetmap/josm/io/OsmServerBackreferenceReaderTest.java
r6920 r6995 8 8 import java.io.File; 9 9 import java.io.FileInputStream; 10 import java.io.File Writer;10 import java.io.FileOutputStream; 11 11 import java.io.IOException; 12 12 import java.io.InputStream; 13 import java.io.OutputStreamWriter; 13 14 import java.io.PrintWriter; 14 15 import java.text.MessageFormat; … … 37 38 import org.openstreetmap.josm.gui.io.UploadStrategySpecification; 38 39 import org.openstreetmap.josm.gui.progress.NullProgressMonitor; 40 import org.openstreetmap.josm.tools.Utils; 39 41 40 42 public class OsmServerBackreferenceReaderTest { … … 218 220 try { 219 221 PrintWriter pw = new PrintWriter( 220 new FileWriter(dataSetCacheOutputFile)222 new OutputStreamWriter(new FileOutputStream(dataSetCacheOutputFile), Utils.UTF_8) 221 223 ); 222 224 logger.info(MessageFormat.format("caching test data set in ''{0}'' ...", dataSetCacheOutputFile.toString()));
Note:
See TracChangeset
for help on using the changeset viewer.