From c173bebf295ac8f7e6eaf667142adb13046a3b15 Mon Sep 17 00:00:00 2001 From: Topvennie Date: Fri, 29 Mar 2024 14:01:57 +0100 Subject: [PATCH] cleanup --- src/main/java/telraam/logic/positioner/CircularQueue.java | 2 +- src/main/java/telraam/logic/positioner/Positioner.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/telraam/logic/positioner/CircularQueue.java b/src/main/java/telraam/logic/positioner/CircularQueue.java index 042ba79..94cadec 100644 --- a/src/main/java/telraam/logic/positioner/CircularQueue.java +++ b/src/main/java/telraam/logic/positioner/CircularQueue.java @@ -14,7 +14,7 @@ public CircularQueue(int maxSize) { @Override public boolean add(T e) { if (this.size >= this.maxSize) { - super.removeFirst(); + removeFirst(); this.size--; } diff --git a/src/main/java/telraam/logic/positioner/Positioner.java b/src/main/java/telraam/logic/positioner/Positioner.java index b61cdbf..4128b36 100644 --- a/src/main/java/telraam/logic/positioner/Positioner.java +++ b/src/main/java/telraam/logic/positioner/Positioner.java @@ -5,5 +5,4 @@ public interface Positioner { void handle(Detection detection); - void calculatePositions(); }