File tree Expand file tree Collapse file tree 1 file changed +21
-23
lines changed
src/test/java/com/arangodb/util Expand file tree Collapse file tree 1 file changed +21
-23
lines changed Original file line number Diff line number Diff line change 20
20
import java .io .IOException ;
21
21
import java .io .InputStreamReader ;
22
22
import java .util .ArrayList ;
23
- import java .util .Collection ;
24
- import java .util .HashSet ;
25
23
import java .util .List ;
26
- import java .util .Set ;
27
24
28
25
import com .arangodb .Station ;
29
26
32
29
*
33
30
*/
34
31
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
+
55
53
}
You can’t perform that action at this time.
0 commit comments