break parseloop;
}
case '(' :
{
throw new InvalidSyntaxException(NLS.bind(Msg.FILTER_INVALID_VALUE, String.valueOf(pos)), filterstring);
}
case '*' :
{
if (sb.length() > 0) {
operands.add(sb.toString());
}
sb.setLength(0);
operands.add(null);
pos++;
break;
}
case '\\' :
{
pos++;
c = filter[pos];
/* fall through into default */
}
default :
{
sb.append(c);
pos++;
break;
}
}
}
int size = operands.size();
if (size == 0) {
throw new InvalidSyntaxException(NLS.bind(Msg.FILTER_MISSING_VALUE, String.valueOf(pos)), filterstring);
}
if (size == 1) {
Object single = operands.get(0);