You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/03/13 12:25:24 UTC
[5/5] lucene-solr git commit: fix compiler warning
fix compiler warning
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/42d1eb53
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/42d1eb53
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/42d1eb53
Branch: refs/heads/branch_6x
Commit: 42d1eb536461a5871f44a6d9f0b38ec839ce7283
Parents: 44bd24b
Author: Mike McCandless <mi...@apache.org>
Authored: Sun Mar 13 07:02:28 2016 -0400
Committer: Mike McCandless <mi...@apache.org>
Committed: Sun Mar 13 07:02:28 2016 -0400
----------------------------------------------------------------------
lucene/core/src/test/org/apache/lucene/index/Test2BPoints.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/42d1eb53/lucene/core/src/test/org/apache/lucene/index/Test2BPoints.java
----------------------------------------------------------------------
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 75f2bbe..5e69979 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++) {