mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-30 10:23:38 +00:00
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