Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

remove unneeded cast

Uwe Schindlera7f15d158912
diff --git a/src/test/org/apache/lucene/util/TestPriorityQueue.java b/src/test/org/apache/lucene/util/TestPriorityQueue.java
index b3a9170472e..12c187b94cf 100644
--- a/src/test/org/apache/lucene/util/TestPriorityQueue.java
+++ b/src/test/org/apache/lucene/util/TestPriorityQueue.java
@@ -61,7 +61,7 @@ public class TestPriorityQueue extends LuceneTestCase {
int last = Integer.MIN_VALUE;
for (int i = 0; i < count; i++)
{
- Integer next = (Integer)pq.pop();
+ Integer next = pq.pop();
assertTrue(next.intValue() >= last);
last = next.intValue();
sum2 += last;