From 41b2105bab0d13eb07ecff6cda2af107e9916eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Schweppenh=C3=A4user?= Date: Tue, 24 Sep 2024 10:39:03 +0200 Subject: [PATCH] improvement(perception): adjusted some comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Moritz Schweppenhäuser --- .../simulation/perception/index/TrafficObjectIndex.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fed/mosaic-application/src/main/java/org/eclipse/mosaic/fed/application/ambassador/simulation/perception/index/TrafficObjectIndex.java b/fed/mosaic-application/src/main/java/org/eclipse/mosaic/fed/application/ambassador/simulation/perception/index/TrafficObjectIndex.java index 797e29783..8a79d6100 100644 --- a/fed/mosaic-application/src/main/java/org/eclipse/mosaic/fed/application/ambassador/simulation/perception/index/TrafficObjectIndex.java +++ b/fed/mosaic-application/src/main/java/org/eclipse/mosaic/fed/application/ambassador/simulation/perception/index/TrafficObjectIndex.java @@ -131,7 +131,7 @@ public void updateVehicles(Iterable vehiclesToUpdate) { } /** - * Returns the amount of indexed vehicles. + * Returns the number of indexed vehicles. * * @return the number of vehicles */ @@ -155,8 +155,8 @@ public List getTrafficLightsInRange(PerceptionModel percepti } /** - * Adds traffic lights to the spatial index, as their positions are static it is sufficient - * to store positional information only once. + * Adds traffic lights to the spatial index, as their positions are static, + * it is enough to store positional information only once. * * @param trafficLightGroup the registered traffic light group */