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) {
 | 
					    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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user