Update java.yaml (#3526)

This commit is contained in:
Owen McGrath
2024-10-31 17:01:56 -05:00
committed by GitHub
parent aeabd5a7ba
commit c8eeb788cb

View File

@@ -4,7 +4,7 @@ detect:
filename: "\\.java$"
rules:
- type: "\\b(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\\b"
- type: "\\b(boolean|byte|char|double|float|int|long|new|var|short|this|transient|void)\\b"
- statement: "\\b(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\\b"
- type: "\\b(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\\b"
- constant: "\\b(true|false|null)\\b"