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(); }