From: Damyan Ivanov Date: Mon, 25 Mar 2019 20:17:10 +0000 (+0200) Subject: package private constructor is enough X-Git-Tag: v0.8.1~8 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=52c58f9a059aa4afe4879e76a80b7a4525218f24;p=mobile-ledger.git package private constructor is enough --- diff --git a/app/src/main/java/net/ktnx/mobileledger/utils/LockHolder.java b/app/src/main/java/net/ktnx/mobileledger/utils/LockHolder.java index dea79ec4..0f3fa388 100644 --- a/app/src/main/java/net/ktnx/mobileledger/utils/LockHolder.java +++ b/app/src/main/java/net/ktnx/mobileledger/utils/LockHolder.java @@ -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; }