mirror of https://github.com/apache/lucene.git
Ack. Left out the type cast.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150983 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9ca5de00f0
commit
ed9f594f27
|
@ -174,7 +174,7 @@ public class ChainedFilter extends Filter
|
||||||
*/
|
*/
|
||||||
if (logic == AND)
|
if (logic == AND)
|
||||||
{
|
{
|
||||||
result = chain[i].bits(reader).clone();
|
result = (BitSet) chain[i].bits(reader).clone();
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -209,7 +209,7 @@ public class ChainedFilter extends Filter
|
||||||
*/
|
*/
|
||||||
if (logic[0] == AND)
|
if (logic[0] == AND)
|
||||||
{
|
{
|
||||||
result = chain[i].bits(reader).clone();
|
result = (BitSet) chain[i].bits(reader).clone();
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue