diff --git a/cicaprojekt/Scale.java b/cicaprojekt/Scale.java index 0bd2a2e..ca9401d 100644 --- a/cicaprojekt/Scale.java +++ b/cicaprojekt/Scale.java @@ -11,7 +11,7 @@ public class Scale extends Field { public Scale(Gate gate, int threshold) { gateConnected = gate; this.threshold = threshold; - boxStack = new Stack(); + boxStack = new Stack<>(); } @Override