Affects PMD Version: 6.22.0
Rule: ApexCRUDViolation
Description:
When "WITH SECURITY_ENFORCED" is given in a separate line, then it is not seen by the rule. The rule reports a violation then.
Code Sample demonstrating the issue:
public class Foo { public Contact foo(String tempID) { Contact c = [SELECT Name FROM Contact WHERE Id=: tempID WITH SECURITY_ENFORCED]; return c; } }
Expected outcome:
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