We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd8e2d8 commit d2edf89Copy full SHA for d2edf89
icu4j/main/core/src/main/java/com/ibm/icu/message2/MFParser.java
@@ -49,14 +49,7 @@ private MFDataModel.Message parseImpl() throws MFParseException {
49
// Determine if message is simple or complex; this requires
50
// looking through whitespace.
51
int savedPosition = input.getPosition();
52
- while (true) {
53
- int cp = input.peekChar();
54
- if (!StringUtils.isWhitespace(cp)) {
55
- break;
56
- }
57
- // Skip past whitespace
58
- cp = input.readCodePoint();
59
+ skipOptionalWhitespaces();
60
int cp = input.peekChar();
61
if (cp == '.') { // declarations or .match
62
// No need to restore whitespace
0 commit comments