Skip to content

Commit

Permalink
Remove redundant warning at the beginning of a value followed with a …
Browse files Browse the repository at this point in the history
…comma (#62)
  • Loading branch information
Gedochao authored Dec 12, 2024
1 parent f075b2d commit f904a1c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,6 @@ public void getIdentRest() {
reader.nextChar();
getIdentRest();
} else {
if (reader.ch == ',' && Character.isWhitespace(reader.lookaheadChar()))
warn("Use of commas as separators is deprecated. Only whitespace is neccessary.");
finishNamed(Tokens.IDENTIFIER, td);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public void deprecatedCommas() {
assertDiagnostic(
reporter,
0,
11,
13,
"Use of commas as separators is deprecated. Only whitespace is neccessary.");
}

Expand Down

0 comments on commit f904a1c

Please sign in to comment.