[Minor] Removed unused method
This commit is contained in:
parent
23d8a1e0ce
commit
f3a9f55007
|
@ -24,10 +24,6 @@ public class LockableObject {
|
||||||
public static long getLockTime() {
|
public static long getLockTime() {
|
||||||
return tryLockTime;
|
return tryLockTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isLockedByCurrentThread() {
|
|
||||||
return this.lock.isHeldByCurrentThread();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see java.util.concurrent.locks.ReentrantLock#tryLock(long, TimeUnit)
|
* @see java.util.concurrent.locks.ReentrantLock#tryLock(long, TimeUnit)
|
||||||
|
|
Loading…
Reference in New Issue