From a7f15d1589120146c63fd9200e57cb86f6adea5b Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Mon, 9 Nov 2009 21:55:16 +0000 Subject: [PATCH] remove unneeded cast git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@834250 13f79535-47bb-0310-9956-ffa450edef68 --- src/test/org/apache/lucene/util/TestPriorityQueue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;