Replaced explicit type argument with diamond expression

This commit is contained in:
Bokros Bálint 2016-05-14 13:15:47 +02:00
parent 1bf4903b40
commit 43686db0b0

View File

@ -11,7 +11,7 @@ public class Scale extends Field {
public Scale(Gate gate, int threshold) {
gateConnected = gate;
this.threshold = threshold;
boxStack = new Stack<Box>();
boxStack = new Stack<>();
}
@Override