You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by so...@apache.org on 2022/07/16 12:05:01 UTC
[lucene] branch branch_9x updated: static variable should be instance-scoped in TestTimeLimitingBulkScorer
This is an automated email from the ASF dual-hosted git repository.
sokolov pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 162432013f0 static variable should be instance-scoped in TestTimeLimitingBulkScorer
162432013f0 is described below
commit 162432013f003c7a21cbdf1cf46adab818481bbe
Author: Michael Sokolov <so...@amazon.com>
AuthorDate: Sat Jul 16 08:02:02 2022 -0400
static variable should be instance-scoped in TestTimeLimitingBulkScorer
---
.../src/test/org/apache/lucene/search/TestTimeLimitingBulkScorer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lucene/core/src/test/org/apache/lucene/search/TestTimeLimitingBulkScorer.java b/lucene/core/src/test/org/apache/lucene/search/TestTimeLimitingBulkScorer.java
index 25d0d12856b..32d1532914f 100644
--- a/lucene/core/src/test/org/apache/lucene/search/TestTimeLimitingBulkScorer.java
+++ b/lucene/core/src/test/org/apache/lucene/search/TestTimeLimitingBulkScorer.java
@@ -65,7 +65,7 @@ public class TestTimeLimitingBulkScorer extends LuceneTestCase {
private static QueryTimeout countingQueryTimeout(int timeallowed) {
return new QueryTimeout() {
- static int counter = 0;
+ int counter = 0;
@Override
public boolean shouldExit() {