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