LUCENE-6220: Remove unnecessary cast.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657878 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrien Grand 2015-02-06 16:05:11 +00:00
parent 1d990166e0
commit ea7120a404
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ public abstract class ShardSearchingTestBase extends LuceneTestCase {
}
// Merge:
return (TopFieldDocs) TopDocs.merge(sort, numHits, shardHits);
return TopDocs.merge(sort, numHits, shardHits);
}
public TopFieldDocs localSearch(Query query, int numHits, Sort sort) throws IOException {