No need to nest in else clause.
This commit is contained in:
parent
8757d91bc3
commit
25d89e78f0
|
@ -491,9 +491,8 @@ public class ExtendedMessageFormat extends MessageFormat {
|
||||||
next(pos);
|
next(pos);
|
||||||
return appendTo == null ? null : appendTo.append(c, lastHold,
|
return appendTo == null ? null : appendTo.append(c, lastHold,
|
||||||
pos.getIndex() - lastHold);
|
pos.getIndex() - lastHold);
|
||||||
} else {
|
|
||||||
next(pos);
|
|
||||||
}
|
}
|
||||||
|
next(pos);
|
||||||
}
|
}
|
||||||
throw new IllegalArgumentException(
|
throw new IllegalArgumentException(
|
||||||
"Unterminated quoted string at position " + start);
|
"Unterminated quoted string at position " + start);
|
||||||
|
|
Loading…
Reference in New Issue