Affects PMD Version: 7.0.0-rc2
Rule: UnusedLocalVariable
Description:
Code Sample demonstrating the issue:
String unusedFlag = 'this string'; String query = 'SELECT Id FROM Account WHERE Name =: unusedFlag';
Expected outcome:
PMD reports a violation at line 1, but that's wrong. That's a false positive.
Running PMD through: [CLI]
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