mirror of https://github.com/apache/druid.git
fix typing on StupidResourceHolder
This commit is contained in:
parent
9f7ab92d81
commit
f0726f4d94
|
@ -25,9 +25,9 @@ public class StupidResourceHolder<T> implements ResourceHolder<T>
|
||||||
{
|
{
|
||||||
private final T obj;
|
private final T obj;
|
||||||
|
|
||||||
public static <T> StupidResourceHolder create(T obj)
|
public static <T> StupidResourceHolder<T> create(T obj)
|
||||||
{
|
{
|
||||||
return new StupidResourceHolder(obj);
|
return new StupidResourceHolder<>(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
public StupidResourceHolder(
|
public StupidResourceHolder(
|
||||||
|
|
Loading…
Reference in New Issue