if (strlen == 0) {
return isAssign ? LongValue.MINUS_ONE : NullValue.NULL;
}
ArrayValue array = new ArrayValueImpl();
while (fIndex < fmtLen) {
char ch = format.charAt(fIndex++);
if (isWhitespace(ch)) {
for (;
(fIndex < fmtLen &&
isWhitespace(ch = format.charAt(fIndex)));
fIndex++) {
}
/*ch = string.charAt(sIndex);
if (! isWhitespace(ch)) {
// XXX: return false?
return sscanfReturn(env, array, args, argIndex, isAssign, true);
}*/
for (;
sIndex < strlen && isWhitespace(string.charAt(sIndex));
sIndex++) {
}
}
else if (ch == '%') {
int maxLen = -1;
loop:
while (fIndex < fmtLen) {
ch = format.charAt(fIndex++);
if (sIndex >= strlen && ch != 'n') {
array.append(NullValue.NULL);
break loop;
}
Value obj;