Replaced explicit type argument with diamond expression
This commit is contained in:
parent
1bf4903b40
commit
43686db0b0
@ -11,7 +11,7 @@ public class Scale extends Field {
|
|||||||
public Scale(Gate gate, int threshold) {
|
public Scale(Gate gate, int threshold) {
|
||||||
gateConnected = gate;
|
gateConnected = gate;
|
||||||
this.threshold = threshold;
|
this.threshold = threshold;
|
||||||
boxStack = new Stack<Box>();
|
boxStack = new Stack<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user