No need to nest in else clause.

This commit is contained in:
Gary Gregory 2019-09-03 16:17:30 -04:00
parent 8757d91bc3
commit 25d89e78f0
1 changed files with 1 additions and 2 deletions

View File

@ -491,9 +491,8 @@ public class ExtendedMessageFormat extends MessageFormat {
next(pos);
return appendTo == null ? null : appendTo.append(c, lastHold,
pos.getIndex() - lastHold);
} else {
next(pos);
}
next(pos);
}
throw new IllegalArgumentException(
"Unterminated quoted string at position " + start);