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:
Kelvin Tan 2004-05-17 13:45:05 +00:00
parent 9ca5de00f0
commit ed9f594f27
1 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ public class ChainedFilter extends Filter
*/
if (logic == AND)
{
result = chain[i].bits(reader).clone();
result = (BitSet) chain[i].bits(reader).clone();
++i;
}
else
@ -209,7 +209,7 @@ public class ChainedFilter extends Filter
*/
if (logic[0] == AND)
{
result = chain[i].bits(reader).clone();
result = (BitSet) chain[i].bits(reader).clone();
++i;
}
else