This commit is contained in:
Andrea Cavalli 2022-09-13 22:15:34 +02:00
parent f739f4f9f4
commit 32e5a100f5
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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