diff --git a/common/src/main/java/io/druid/collections/StupidResourceHolder.java b/common/src/main/java/io/druid/collections/StupidResourceHolder.java index 0deb05cd2ea..d0d8a4bd55a 100644 --- a/common/src/main/java/io/druid/collections/StupidResourceHolder.java +++ b/common/src/main/java/io/druid/collections/StupidResourceHolder.java @@ -25,9 +25,9 @@ public class StupidResourceHolder implements ResourceHolder { private final T obj; - public static StupidResourceHolder create(T obj) + public static StupidResourceHolder create(T obj) { - return new StupidResourceHolder(obj); + return new StupidResourceHolder<>(obj); } public StupidResourceHolder(