Changeset 15034 in josm for trunk/test/performance/org/openstreetmap
- Timestamp:
- 2019-05-02T04:33:57+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/performance/org/openstreetmap/josm/data/osm/visitor/paint/AbstractMapRendererPerformanceTestParent.java
r14582 r15034 7 7 import java.awt.image.BufferedImage; 8 8 import java.io.File; 9 import java.io.FileInputStream;10 9 import java.io.IOException; 11 10 import java.io.InputStream; 11 import java.nio.file.Files; 12 import java.nio.file.Paths; 12 13 13 14 import javax.imageio.ImageIO; … … 80 81 StyledMapRenderer.PREFERENCE_TEXT_ANTIALIASING.put("gasp"); 81 82 82 try (InputStream fisR = new FileInputStream("data_nodist/restriction.osm");83 InputStream fisM = new FileInputStream("data_nodist/multipolygon.osm");84 85 83 try (InputStream fisR = Files.newInputStream(Paths.get("data_nodist/restriction.osm")); 84 InputStream fisM = Files.newInputStream(Paths.get("data_nodist/multipolygon.osm")); 85 InputStream fisC = Compression.getUncompressedFileInputStream(new File("data_nodist/neubrandenburg.osm.bz2")); 86 InputStream fisO = Compression.getUncompressedFileInputStream(new File("data_nodist/overpass-download.osm.bz2"));) { 86 87 dsRestriction = OsmReader.parseDataSet(fisR, NullProgressMonitor.INSTANCE); 87 88 dsMultipolygon = OsmReader.parseDataSet(fisM, NullProgressMonitor.INSTANCE);
Note:
See TracChangeset
for help on using the changeset viewer.