]> git.ktnx.net Git - mobile-ledger.git/commitdiff
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 dea79ec4aef66f4b60f693e5319719c2b9545e50..0f3fa3886a94f23677b36aa8c52cd979d1840dff 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;
     }