diff --git a/src/main/java/ch/zhaw/pm2/racetrack/Track.java b/src/main/java/ch/zhaw/pm2/racetrack/Track.java index f3e51f0..5dab127 100644 --- a/src/main/java/ch/zhaw/pm2/racetrack/Track.java +++ b/src/main/java/ch/zhaw/pm2/racetrack/Track.java @@ -87,7 +87,8 @@ public class Track implements TrackSpecification { private void readFile(File trackFile) throws FileNotFoundException { Scanner scanner = new Scanner(trackFile); while (scanner.hasNextLine()) { - track.add(scanner.nextLine()); + //track.add(scanner.nextLine()); + System.out.println(scanner.nextLine()); } }