File names corrected
parent
a2821a3781
commit
0c8728dc0c
|
@ -21,7 +21,7 @@ public class Routeplaner {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void loadData() {
|
private void loadData() {
|
||||||
final String CITIES_DOCUMENT_PATH = "resources/etab.html";
|
final String CITIES_DOCUMENT_PATH = "Routenplaner/resources/etab.html";
|
||||||
|
|
||||||
int[][] matrix;
|
int[][] matrix;
|
||||||
HashMap<String, Integer> cityLookup = new HashMap<>();
|
HashMap<String, Integer> cityLookup = new HashMap<>();
|
||||||
|
@ -69,7 +69,7 @@ public class Routeplaner {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void loadConnections(int[][] matrix, HashMap<String, Integer> cityLookup) throws IOException {
|
private void loadConnections(int[][] matrix, HashMap<String, Integer> cityLookup) throws IOException {
|
||||||
final Scanner sc = new Scanner(new File("resources/verb.txt"));
|
final Scanner sc = new Scanner(new File("Routenplaner/resources/verb.txt"));
|
||||||
|
|
||||||
String start = null;
|
String start = null;
|
||||||
while (sc.hasNextLine()) {
|
while (sc.hasNextLine()) {
|
||||||
|
|
Loading…
Reference in New Issue