From 1e8026216ade87d872a611c7b3e08d2e1339c8c9 Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Sat, 15 Feb 2020 15:41:54 +0100 Subject: [PATCH] Remove unused code --- src/edu/kit/informatik/ModelRailwaySimulation.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/edu/kit/informatik/ModelRailwaySimulation.java b/src/edu/kit/informatik/ModelRailwaySimulation.java index 1bce758..2452ae3 100644 --- a/src/edu/kit/informatik/ModelRailwaySimulation.java +++ b/src/edu/kit/informatik/ModelRailwaySimulation.java @@ -9,7 +9,6 @@ public class ModelRailwaySimulation { private List trainSets = new ArrayList<>(); private List coaches = new ArrayList<>(); private List trains = new ArrayList<>(); - /** * Identifier if success, -1 if fail * @param start @@ -454,11 +453,6 @@ public class ModelRailwaySimulation { } positions.add(rollingStockPosition); } - /* TODO: await forum answer - if (!positions.get(0).subtract(positions.get(1)).equals(direction)) { - return false; - } - */ train.storePositionAndDirection(positions, direction); List> collisions = getStaticCollisions(false);