Clean up generics.
This commit is contained in:
parent
4453bb3ede
commit
d22f4e1e61
|
@ -115,6 +115,6 @@ public class Locks {
|
|||
}
|
||||
|
||||
public static <O extends Object> Locks.Lock<O> lock(O object) {
|
||||
return new Locks.Lock<O>(object);
|
||||
return new Locks.Lock<>(object);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue