Affects Version: 6.0.0
Rule Set:
ErrorProne > AvoidDirectAccessTriggerMap
Description:
Rule should only apply to *.trigger
classes but detect arbitrary *.cls
files with array [] brackets.
Code Sample demonstrating the issue:
public class NotATrigger {
void foo(){
Account[] accounts = opportunity.Accounts[0];
}
}
Running PMD through: [CLI | Ant | Maven | Gradle | Designer | Other]
all tools
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