Affects PMD Version: 6.24.0
Description:
The rule AvoidSoqlInLoops does report the following violation, when it shouldn't:
public class Foo { public void bar() { for(NAMESPACE__CustomObject__c customObject : DatabaseUtility.query([Select Id FROM NAMESPACE__CustomObject__c where id IN :setIds])) // <-- violation is reported here { // … } } }
This is a false-positive!
Running PMD through: Command line
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