GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [apex] New rule to detect inaccessible AuraEnabled getters (summer '21 security update) · Issue #3321 · pmd/pmd Closed Labels a:new-ruleProposal to add a new built-in rule DescriptionProposed Rule Name: Proposed Category: Description: Code Sample: // Violating public class Foo { @AuraEnabled public Integer counter { private get; set; } @AuraEnabled public static Foo bar() { Foo foo = new Foo(); foo.counter = 2; return foo; } } public class Foo { @AuraEnabled public static Baz bar() { Baz baz = new Baz(); baz.counter = 2; return baz; } private class Baz { @AuraEnabled public Integer counter { protected get; set; } } } // Compliant public class Foo { @AuraEnabled public Integer counter { get; set; } @AuraEnabled public static Foo bar() { Foo foo = new Foo(); foo.counter = 2; return foo; } } public class Foo { @AuraEnabled public static Baz bar() { Baz baz = new Baz(); baz.counter = 2; return baz; } private class Baz { @AuraEnabled public Integer counter { get; set; } } } Possible Properties: None. Reacted by Jonathan Wiesel Activity
MetadataMetadataAssigneesLabelsa:new-ruleProposal to add a new built-in rule TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |