Open
Description
Usage of static File
is not flagged when it is the first non-empty code line after a comment:
Reproduce:
- Write code that should be flagged (e. g. usage of static
File
) - Observe that it is flagged
- Add a code comment with
//
above the flagged line, optionally add empty lines between
Expected Behavior:
The code line is flagged.
Actual Behavior:
The code line is no longer flagged
Remove the code comment and observe that the line is flagged again.
Metadata
Metadata
Assignees
Labels
No labels