Changeset 9612 in josm for trunk/test/unit
- Timestamp:
- 2016-01-24T15:11:05+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/data/projection/ProjectionRefTest.java
r9609 r9612 65 65 List<Pair<LatLon, EastNorth>> data; 66 66 67 publicRefEntry(String code, String def) {67 RefEntry(String code, String def) { 68 68 this.code = code; 69 69 this.def = def; … … 83 83 * Reads data from the reference file. 84 84 * @return the data 85 * @throws IOException 86 * @throws FileNotFoundException 87 */ 88 private static Collection<RefEntry> readData() throws IOException, FileNotFoundException { 85 * @throws IOException if any I/O error occurs 86 */ 87 private static Collection<RefEntry> readData() throws IOException { 89 88 Collection<RefEntry> result = new ArrayList<>(); 90 89 if (!new File(REFERENCE_DATA_FILE).exists()) { … … 258 257 * Writes data to file. 259 258 * @param refs the data 260 * @throws FileNotFoundException 261 * @throws IOException 262 */ 263 private static void writeData(Collection<RefEntry> refs) throws FileNotFoundException, IOException { 259 * @throws IOException if any I/O error occurs 260 */ 261 private static void writeData(Collection<RefEntry> refs) throws IOException { 264 262 Map<String, RefEntry> refsMap = new TreeMap<>(new CodeProjectionChoice.CodeComparator()); 265 263 for (RefEntry ref : refs) {
Note:
See TracChangeset
for help on using the changeset viewer.