Clean up generics.

This commit is contained in:
Gary Gregory 2020-06-18 08:16:51 -04:00
parent 4453bb3ede
commit d22f4e1e61
1 changed files with 1 additions and 1 deletions

View File

@ -115,6 +115,6 @@ protected <T> T callLocked(long stamp, FailableFunction<O, T, ?> function) {
}
public static <O extends Object> Locks.Lock<O> lock(O object) {
return new Locks.Lock<O>(object);
return new Locks.Lock<>(object);
}
}