New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WhitespaceAfter should support LITERAL_CASE token #11666
Comments
@turbanoff is there any relevant specification in Google style guide, as in #11489? |
Hm, it seems missing space in case of
So, it's not directly relevant. |
I'm on it |
I reviewed at https://checkstyle.org/styleguides/google-java-style-20180523/javaguide.html#s2.1-file-name
It should support this rule. |
Fix is merged |
https://checkstyle.org/config_whitespace.html#WhitespaceAfter
I have downloaded the latest cli from: https://checkstyle.org/cmdline.html#Download_and_Run
I have executed the cli and showed it below, as cli describes the problem better than 1,000 words
How it works Now:
Is your feature request related to a problem? Please describe.
It would be nice if checkstyle could detect missing space after
case
keyword.Describe the solution you'd like
WhitespaceAfter could support new literal type -
LITERAL_CASE
Additional context
#11489, #11493 and #11494 are similar requests for
try
/finally
/synchronized
keywords supportThe text was updated successfully, but these errors were encountered: