Changeset 18801 in josm for trunk/test/unit/org/openstreetmap/josm/io/GpxReaderTest.java
- Timestamp:
- 2023-08-09T15:30:01+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/io/GpxReaderTest.java
r18037 r18801 7 7 8 8 import java.io.ByteArrayInputStream; 9 import java.io.File;10 9 import java.io.FileInputStream; 11 10 import java.io.IOException; … … 39 38 public static GpxData parseGpxData(String filename) throws IOException, SAXException { 40 39 final GpxData result; 41 try (FileInputStream in = new FileInputStream( new File(filename))) {40 try (FileInputStream in = new FileInputStream(filename)) { 42 41 GpxReader reader = new GpxReader(in); 43 42 assertTrue(reader.parse(false));
Note:
See TracChangeset
for help on using the changeset viewer.
