squid:S2293 - The diamond operator should be used
This commit is contained in:
@ -11,7 +11,7 @@ public class ItemQueue {
|
||||
|
||||
public ItemQueue() {
|
||||
|
||||
queue = new LinkedBlockingQueue<Item>(5);
|
||||
queue = new LinkedBlockingQueue<>(5);
|
||||
}
|
||||
|
||||
public void put(Item item) throws InterruptedException {
|
||||
|
Reference in New Issue
Block a user