Replaced explicit type argument with diamond expression
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user