mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-10 03:55:10 +00:00
No need to nest in else clause.
This commit is contained in:
parent
8757d91bc3
commit
25d89e78f0
@ -491,9 +491,8 @@ private StringBuilder appendQuotedString(final String pattern, final ParsePositi
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user