package private constructor is enough
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 25 Mar 2019 20:17:10 +0000 (22:17 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 25 Mar 2019 20:17:10 +0000 (22:17 +0200)
app/src/main/java/net/ktnx/mobileledger/utils/LockHolder.java

index dea79ec..0f3fa38 100644 (file)
@@ -25,7 +25,7 @@ public class LockHolder implements AutoCloseable {
         this.rLock = rLock;
         this.wLock = null;
     }
-    public LockHolder(Lock rLock, Lock wLock) {
+    LockHolder(Lock rLock, Lock wLock) {
         this.rLock = rLock;
         this.wLock = wLock;
     }