Currently LocalVariableCouldBeFinal also triggers on the non-final variable in a for-each loop:
for ( String c : strings ) {
System.out.println(c);
}
It should be possible to exclude for-each loop variables as they might be treated differently from regular local variables.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4