This commit is contained in:
Gary Gregory 2020-07-11 16:54:07 -04:00
parent ff4ef533a5
commit 3e86896c13
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ public class LockingVisitors {
private final O object;
private final Supplier<Lock> readLockSupplier;
private final Supplier<Lock> writeLockSupplier;
protected LockVisitor(final O object, L lock, Supplier<Lock> readLockSupplier, Supplier<Lock> writeLockSupplier) {
super();
this.object = Objects.requireNonNull(object, "object");