Skip to content

Commit 56208b9

Browse files
author
Achim Brandt
committed
removed unused import
1 parent d4a712a commit 56208b9

File tree

1 file changed

+21
-23
lines changed

1 file changed

+21
-23
lines changed

src/test/java/com/arangodb/util/TestUtils.java

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@
2020
import java.io.IOException;
2121
import java.io.InputStreamReader;
2222
import java.util.ArrayList;
23-
import java.util.Collection;
24-
import java.util.HashSet;
2523
import java.util.List;
26-
import java.util.Set;
2724

2825
import com.arangodb.Station;
2926

@@ -32,24 +29,25 @@
3229
*
3330
*/
3431
public class TestUtils {
35-
36-
public static List<Station> readStations() throws IOException {
37-
38-
ArrayList<Station> stations = new ArrayList<Station>(1000);
39-
BufferedReader br = new BufferedReader(new InputStreamReader(TestUtils.class.getResourceAsStream("/test-data/jp-tokyo-station.tsv"), "utf-8"));
40-
String line = null;
41-
while ((line = br.readLine()) != null) {
42-
line = line.trim();
43-
if (line.length() == 0) {
44-
continue;
45-
}
46-
Station station = new Station(line.split(" ", -1));
47-
stations.add(station);
48-
}
49-
br.close();
50-
51-
return stations;
52-
53-
}
54-
32+
33+
public static List<Station> readStations() throws IOException {
34+
35+
ArrayList<Station> stations = new ArrayList<Station>(1000);
36+
BufferedReader br = new BufferedReader(
37+
new InputStreamReader(TestUtils.class.getResourceAsStream("/test-data/jp-tokyo-station.tsv"), "utf-8"));
38+
String line = null;
39+
while ((line = br.readLine()) != null) {
40+
line = line.trim();
41+
if (line.length() == 0) {
42+
continue;
43+
}
44+
Station station = new Station(line.split(" ", -1));
45+
stations.add(station);
46+
}
47+
br.close();
48+
49+
return stations;
50+
51+
}
52+
5553
}

0 commit comments

Comments
 (0)