From 3fb2291b859e12297439f24584a374c78aef1f08 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Tue, 10 Nov 2020 08:02:55 +0300 Subject: [PATCH] Note to review --- src/Street.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Street.java b/src/Street.java index 20f0305..61d6289 100644 --- a/src/Street.java +++ b/src/Street.java @@ -12,6 +12,7 @@ public class Street { setNumberOfLanes(numberOfLanes); } + //TODO: should be removed. list can be over the capacity Unless we check with street cap. public Street(double length, int numberOfLanes, ArrayList vehicles) { this(length, numberOfLanes); this.vehicles = vehicles;