mirror of https://github.com/apache/lucene.git
make ctors public - this broke the sandbox DbLock code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150320 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
66601f515c
commit
f5648fc28f
|
@ -38,11 +38,11 @@ public abstract class Lock {
|
||||||
public static long LOCK_POLL_INTERVAL = 1000;
|
public static long LOCK_POLL_INTERVAL = 1000;
|
||||||
private File lockFile = null;
|
private File lockFile = null;
|
||||||
|
|
||||||
Lock(File lockFile) {
|
public Lock(File lockFile) {
|
||||||
this.lockFile = lockFile;
|
this.lockFile = lockFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
Lock() {
|
public Lock() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Attempts to obtain exclusive access and immediately return
|
/** Attempts to obtain exclusive access and immediately return
|
||||||
|
|
Loading…
Reference in New Issue