From 848d62a5f96615197ce5ffdea7a1cbbda6babc7e Mon Sep 17 00:00:00 2001 From: Andrin Fassbind Date: Fri, 18 Mar 2022 14:06:14 +0100 Subject: [PATCH] Test commit --- src/main/java/ch/zhaw/pm2/racetrack/Track.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); } }