From 0c8728dc0cbd71c5b9679e98b95270c5e222d20d Mon Sep 17 00:00:00 2001 From: hummel Date: Tue, 8 Apr 2025 10:21:28 +0200 Subject: [PATCH] File names corrected --- .../informatik/routenplaner/domain/Routeplaner.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Routenplaner/src/de/th_mannheim/informatik/routenplaner/domain/Routeplaner.java b/Routenplaner/src/de/th_mannheim/informatik/routenplaner/domain/Routeplaner.java index 223957d..a05ab4d 100644 --- a/Routenplaner/src/de/th_mannheim/informatik/routenplaner/domain/Routeplaner.java +++ b/Routenplaner/src/de/th_mannheim/informatik/routenplaner/domain/Routeplaner.java @@ -21,7 +21,7 @@ public class Routeplaner { } private void loadData() { - final String CITIES_DOCUMENT_PATH = "resources/etab.html"; + final String CITIES_DOCUMENT_PATH = "Routenplaner/resources/etab.html"; int[][] matrix; HashMap cityLookup = new HashMap<>(); @@ -69,7 +69,7 @@ public class Routeplaner { } private void loadConnections(int[][] matrix, HashMap 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; while (sc.hasNextLine()) {