From 43686db0b0bfa4eda1a50457921c134a84a208d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bokros=20B=C3=A1lint?= Date: Sat, 14 May 2016 13:15:47 +0200 Subject: [PATCH] Replaced explicit type argument with diamond expression --- cicaprojekt/Scale.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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