Speedup
This commit is contained in:
parent
f739f4f9f4
commit
32e5a100f5
@ -16,8 +16,8 @@ public class CheckIndexInput extends IndexInput {
|
||||
this.input = input;
|
||||
}
|
||||
|
||||
private void checkThread() {
|
||||
LuceneUtils.checkLuceneThread();
|
||||
private static void checkThread() {
|
||||
assert LuceneUtils.isLuceneThread();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -14,8 +14,8 @@ public class CheckIndexOutput extends IndexOutput {
|
||||
this.output = output;
|
||||
}
|
||||
|
||||
private void checkThread() {
|
||||
LuceneUtils.checkLuceneThread();
|
||||
private static void checkThread() {
|
||||
assert LuceneUtils.isLuceneThread();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user