From 42d1eb536461a5871f44a6d9f0b38ec839ce7283 Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Sun, 13 Mar 2016 07:02:28 -0400 Subject: [PATCH] fix compiler warning --- lucene/core/src/test/org/apache/lucene/index/Test2BPoints.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/core/src/test/org/apache/lucene/index/Test2BPoints.java b/lucene/core/src/test/org/apache/lucene/index/Test2BPoints.java index 75f2bbe3f47..5e6997971cb 100644 --- a/lucene/core/src/test/org/apache/lucene/index/Test2BPoints.java +++ b/lucene/core/src/test/org/apache/lucene/index/Test2BPoints.java @@ -117,7 +117,7 @@ public class Test2BPoints extends LuceneTestCase { } final int numDocs = (Integer.MAX_VALUE / 26) + 1; - long counter = 0; + int counter = 0; for (int i = 0; i < numDocs; i++) { Document doc = new Document(); for (int j=0;j<26;j++) {