Changeset 16099 in josm for trunk/test/unit
- Timestamp:
- 2020-03-09T00:35:03+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRegressionTest.java
r16006 r16099 5 5 import java.io.BufferedWriter; 6 6 import java.io.File; 7 import java.io.FileNotFoundException;8 7 import java.io.IOException; 9 import java.io.InputStreamReader;10 8 import java.io.OutputStreamWriter; 11 9 import java.nio.charset.StandardCharsets; … … 113 111 } 114 112 115 private static List<TestData> readData() throws IOException, FileNotFoundException { 116 try (BufferedReader in = new BufferedReader(new InputStreamReader(Files.newInputStream(Paths.get(PROJECTION_DATA_FILE)), 117 StandardCharsets.UTF_8))) { 113 private static List<TestData> readData() throws IOException { 114 try (BufferedReader in = Files.newBufferedReader(Paths.get(PROJECTION_DATA_FILE), StandardCharsets.UTF_8)) { 118 115 List<TestData> result = new ArrayList<>(); 119 116 String line;
Note:
See TracChangeset
for help on using the changeset viewer.