Affects PMD Version: ALL
Rule: AvoidGlobalModifierRule
Description: When its a webservice , it will be declared as global. Even in that case it is causing warning. The rule should be smart enough to understand that its an exposed webservice and can be global
Code Sample demonstrating the issue:
@RestResource(urlMapping = '/partners/submit/*')
global class Generic_LoanCreation {
@HttpPost
global static void createLoanApplication() {
}
}
Running PMD through: * Ant*
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