diff --git a/404.html b/404.html index 81bef98f60..a416f8a354 100644 --- a/404.html +++ b/404.html @@ -1441,7 +1441,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/feed.xml b/feed.xml index 0b3c74a4d6..126f9dff08 100644 --- a/feed.xml +++ b/feed.xml @@ -5,8 +5,8 @@ Intended as a documentation theme based on Jekyll for technical writers documenting software and other technical products, this theme has all the elements you would need to handle multiple products with both multi-level sidebar navigation, tags, and other documentation features. https://pmd.github.io/pmd/ - Tue, 01 Jun 2021 05:22:13 +0000 - Tue, 01 Jun 2021 05:22:13 +0000 + Tue, 08 Jun 2021 14:38:54 +0000 + Tue, 08 Jun 2021 14:38:54 +0000 Jekyll v3.9.0 diff --git a/index.html b/index.html index 50bc6f569b..a809cf8a81 100644 --- a/index.html +++ b/index.html @@ -6433,7 +6433,7 @@ $('#filter a').click(function (e) {
diff --git a/js/mydoc_scroll.html b/js/mydoc_scroll.html index 98e8053652..bfb241edab 100644 --- a/js/mydoc_scroll.html +++ b/js/mydoc_scroll.html @@ -1675,7 +1675,7 @@ $('#small-box-links').localScroll({
diff --git a/license.html b/license.html index 99b1ccc22b..c35fdda08b 100644 --- a/license.html +++ b/license.html @@ -1685,7 +1685,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/news.html b/news.html index b7974570b9..a2cce0052d 100644 --- a/news.html +++ b/news.html @@ -1436,7 +1436,7 @@
diff --git a/news_archive.html b/news_archive.html index 7cdbdd9acd..14e03c3eed 100644 --- a/news_archive.html +++ b/news_archive.html @@ -1437,7 +1437,7 @@
diff --git a/pmd_about_help.html b/pmd_about_help.html index ea1b3c9fd1..688bdb0290 100644 --- a/pmd_about_help.html +++ b/pmd_about_help.html @@ -1461,7 +1461,7 @@ through the archives (archive1 diff --git a/pmd_apex_metrics_index.html b/pmd_apex_metrics_index.html index dbfbbe28b7..a82873c232 100644 --- a/pmd_apex_metrics_index.html +++ b/pmd_apex_metrics_index.html @@ -1515,7 +1515,7 @@ flow statement.
diff --git a/pmd_devdocs_building.html b/pmd_devdocs_building.html index 13490e7468..53a4759e6d 100644 --- a/pmd_devdocs_building.html +++ b/pmd_devdocs_building.html @@ -1532,7 +1532,7 @@ please post here an
diff --git a/pmd_devdocs_development.html b/pmd_devdocs_development.html index 16baafa40d..9033c5ddd7 100644 --- a/pmd_devdocs_development.html +++ b/pmd_devdocs_development.html @@ -1479,7 +1479,7 @@ every push. Each pull request is built as well.

diff --git a/pmd_devdocs_experimental_ast_dump.html b/pmd_devdocs_experimental_ast_dump.html index a8a6486c9d..d51a2c9dea 100644 --- a/pmd_devdocs_experimental_ast_dump.html +++ b/pmd_devdocs_experimental_ast_dump.html @@ -1549,7 +1549,7 @@ with the name “a”.

diff --git a/pmd_devdocs_how_pmd_works.html b/pmd_devdocs_how_pmd_works.html index a5de846a58..12da3102b7 100644 --- a/pmd_devdocs_how_pmd_works.html +++ b/pmd_devdocs_how_pmd_works.html @@ -1495,7 +1495,7 @@ type resolution information and DFA nodes.
diff --git a/pmd_devdocs_major_adding_new_cpd_language.html b/pmd_devdocs_major_adding_new_cpd_language.html index d65c5edb07..578efaaefa 100644 --- a/pmd_devdocs_major_adding_new_cpd_language.html +++ b/pmd_devdocs_major_adding_new_cpd_language.html @@ -1594,7 +1594,7 @@ call the method doTest
diff --git a/pmd_devdocs_major_adding_new_language.html b/pmd_devdocs_major_adding_new_language.html index a2bd45bc1e..842db1beb9 100644 --- a/pmd_devdocs_major_adding_new_language.html +++ b/pmd_devdocs_major_adding_new_language.html @@ -1641,7 +1641,7 @@ This can be achieved with Rule Designer:

diff --git a/pmd_devdocs_major_adding_new_metrics_framework.html b/pmd_devdocs_major_adding_new_metrics_framework.html index ab65ef8496..c41ab371ad 100644 --- a/pmd_devdocs_major_adding_new_metrics_framework.html +++ b/pmd_devdocs_major_adding_new_metrics_framework.html @@ -1494,7 +1494,7 @@ build a Signature<N> diff --git a/pmd_devdocs_pmdtester.html b/pmd_devdocs_pmdtester.html index e33ec7637c..40ade3df4d 100644 --- a/pmd_devdocs_pmdtester.html +++ b/pmd_devdocs_pmdtester.html @@ -1463,7 +1463,7 @@ Regression difference reports are commented back to the PR for the reviewer’s
diff --git a/pmd_devdocs_roadmap.html b/pmd_devdocs_roadmap.html index ac79ef7ed0..e0c844ca04 100644 --- a/pmd_devdocs_roadmap.html +++ b/pmd_devdocs_roadmap.html @@ -1584,7 +1584,7 @@ This should be configurable on per Rule basis similar to TR and SymbolTable.

diff --git a/pmd_devdocs_rule_deprecation_policy.html b/pmd_devdocs_rule_deprecation_policy.html index d9f85852ef..6cde29e128 100644 --- a/pmd_devdocs_rule_deprecation_policy.html +++ b/pmd_devdocs_rule_deprecation_policy.html @@ -1553,7 +1553,7 @@ major release of PMD.

diff --git a/pmd_devdocs_writing_documentation.html b/pmd_devdocs_writing_documentation.html index 61ac3c7d46..832a53b853 100644 --- a/pmd_devdocs_writing_documentation.html +++ b/pmd_devdocs_writing_documentation.html @@ -1700,7 +1700,7 @@ by specifying -Dpmd.doc.check
diff --git a/pmd_java_metrics_index.html b/pmd_java_metrics_index.html index 9619cc11f4..c3732e2f22 100644 --- a/pmd_java_metrics_index.html +++ b/pmd_java_metrics_index.html @@ -1872,7 +1872,7 @@ In Proceedings ACM Symposium on Software Reusability, 1995.

diff --git a/pmd_languages_jsp.html b/pmd_languages_jsp.html index 2f013726f6..894cfbffca 100644 --- a/pmd_languages_jsp.html +++ b/pmd_languages_jsp.html @@ -1494,7 +1494,7 @@ contains only “.java” files, JSP files obviously will not be checked.

diff --git a/pmd_languages_plsql.html b/pmd_languages_plsql.html index 5efd6bbc48..4311b47213 100644 --- a/pmd_languages_plsql.html +++ b/pmd_languages_plsql.html @@ -1481,7 +1481,7 @@ a custom XPath rule with the following expression:

diff --git a/pmd_next_major_development.html b/pmd_next_major_development.html index 1b05160fdc..5202df1576 100644 --- a/pmd_next_major_development.html +++ b/pmd_next_major_development.html @@ -2898,7 +2898,7 @@ replacement.

diff --git a/pmd_projectdocs_committers_infrastructure.html b/pmd_projectdocs_committers_infrastructure.html index 07e4875098..de7ef36fe3 100644 --- a/pmd_projectdocs_committers_infrastructure.html +++ b/pmd_projectdocs_committers_infrastructure.html @@ -1525,7 +1525,7 @@ Login is via github.
diff --git a/pmd_projectdocs_committers_main_landing_page.html b/pmd_projectdocs_committers_main_landing_page.html index 0ee363c99b..dea652febe 100644 --- a/pmd_projectdocs_committers_main_landing_page.html +++ b/pmd_projectdocs_committers_main_landing_page.html @@ -1533,7 +1533,7 @@ the new post is recognized and added to the news section and also on the news su
diff --git a/pmd_projectdocs_committers_merging_pull_requests.html b/pmd_projectdocs_committers_merging_pull_requests.html index b3f5fb0a36..c818adbaa4 100644 --- a/pmd_projectdocs_committers_merging_pull_requests.html +++ b/pmd_projectdocs_committers_merging_pull_requests.html @@ -1612,7 +1612,7 @@ integrated (e.g. gitk and github show the branches, from which the specific comm
diff --git a/pmd_projectdocs_committers_releasing.html b/pmd_projectdocs_committers_releasing.html index bd1499f20a..c710d6ba64 100644 --- a/pmd_projectdocs_committers_releasing.html +++ b/pmd_projectdocs_committers_releasing.html @@ -1841,7 +1841,7 @@ the maintenance branch needs to be set.

diff --git a/pmd_projectdocs_credits.html b/pmd_projectdocs_credits.html index 92b6bb470a..c585434685 100644 --- a/pmd_projectdocs_credits.html +++ b/pmd_projectdocs_credits.html @@ -1955,7 +1955,7 @@ PMD scoreboard formulas, pmd-dcpd optimizations
diff --git a/pmd_projectdocs_faq.html b/pmd_projectdocs_faq.html index 27b334c3bd..c924e11902 100644 --- a/pmd_projectdocs_faq.html +++ b/pmd_projectdocs_faq.html @@ -1488,7 +1488,7 @@ You must take this into account for certain rules.

diff --git a/pmd_projectdocs_trivia_meaning.html b/pmd_projectdocs_trivia_meaning.html index 8ca29c64a2..d35a81bc4e 100644 --- a/pmd_projectdocs_trivia_meaning.html +++ b/pmd_projectdocs_trivia_meaning.html @@ -1457,7 +1457,7 @@ really know. We just think the letters sound good together.

diff --git a/pmd_projectdocs_trivia_news.html b/pmd_projectdocs_trivia_news.html index 2dd56c76da..ad91b42a7e 100644 --- a/pmd_projectdocs_trivia_news.html +++ b/pmd_projectdocs_trivia_news.html @@ -1577,7 +1577,7 @@ interview with Ole-Martin and Tom

diff --git a/pmd_projectdocs_trivia_products.html b/pmd_projectdocs_trivia_products.html index 61afdccdeb..e2cec723f8 100644 --- a/pmd_projectdocs_trivia_products.html +++ b/pmd_projectdocs_trivia_products.html @@ -1505,7 +1505,7 @@ to catch web app security problems. Thanks to Joseph Hemler for the props!

diff --git a/pmd_projectdocs_trivia_similarprojects.html b/pmd_projectdocs_trivia_similarprojects.html index 32cb11f555..c5c3e13ecc 100644 --- a/pmd_projectdocs_trivia_similarprojects.html +++ b/pmd_projectdocs_trivia_similarprojects.html @@ -1512,7 +1512,7 @@ only for maven project.
diff --git a/pmd_release_notes.html b/pmd_release_notes.html index a52c027569..8f3fd0db49 100644 --- a/pmd_release_notes.html +++ b/pmd_release_notes.html @@ -1452,7 +1452,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/pmd_release_notes_old.html b/pmd_release_notes_old.html index 28bc4e0e51..34b727f322 100644 --- a/pmd_release_notes_old.html +++ b/pmd_release_notes_old.html @@ -13922,7 +13922,7 @@ Added new HTML report format
diff --git a/pmd_rules_apex.html b/pmd_rules_apex.html index a5db4cda14..c2730a373d 100644 --- a/pmd_rules_apex.html +++ b/pmd_rules_apex.html @@ -1498,6 +1498,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
  • EmptyStatementBlock: Empty block statements serve no purpose and should be removed.
  • EmptyTryOrFinallyBlock: Avoid empty try or finally blocks - what’s the point?
  • EmptyWhileStmt: Empty While Statement finds all instances where a while statement does nothing. If it is a timing…
  • +
  • InaccessibleAuraEnabledGetter: In the Summer ‘21 release, a mandatory security update enforces access modifiers on Apex properti…
  • MethodWithSameNameAsEnclosingClass: Non-constructor methods should not have the same name as the enclosing class.
  • OverrideBothEqualsAndHashcode: Override both ‘public Boolean equals(Object obj)’, and ‘public Integer hashCode()’, or override n…
  • TestMethodsMustBeInTestClasses: Test methods marked as a testMethod or annotated with @IsTest, but not residing in a te…
  • @@ -1653,7 +1654,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_apex_bestpractices.html b/pmd_rules_apex_bestpractices.html index d23ff596a7..c4c156af2f 100644 --- a/pmd_rules_apex_bestpractices.html +++ b/pmd_rules_apex_bestpractices.html @@ -1957,7 +1957,7 @@ Therefore delegate the triggers work to a regular class (often called Trigger ha
    diff --git a/pmd_rules_apex_codestyle.html b/pmd_rules_apex_codestyle.html index 0df4437e2d..bd63c97e0b 100644 --- a/pmd_rules_apex_codestyle.html +++ b/pmd_rules_apex_codestyle.html @@ -2526,7 +2526,7 @@ controlled from the rest.

    diff --git a/pmd_rules_apex_design.html b/pmd_rules_apex_design.html index 972cb983d2..6c0a68e198 100644 --- a/pmd_rules_apex_design.html +++ b/pmd_rules_apex_design.html @@ -2483,7 +2483,7 @@ city/state/zip fields could park them within a single Address field.

    diff --git a/pmd_rules_apex_documentation.html b/pmd_rules_apex_documentation.html index e0177f82a1..a163ecaca2 100644 --- a/pmd_rules_apex_documentation.html +++ b/pmd_rules_apex_documentation.html @@ -1537,7 +1537,7 @@ order as the method signature.
    diff --git a/pmd_rules_apex_errorprone.html b/pmd_rules_apex_errorprone.html index ed109ebac0..6581bef2a2 100644 --- a/pmd_rules_apex_errorprone.html +++ b/pmd_rules_apex_errorprone.html @@ -5,7 +5,7 @@ - + Error Prone | PMD Source Code Analyzer @@ -2002,6 +2002,99 @@ a while loop that does a lot in the exit expression, rewrite it to make it clear
    <rule ref="category/apex/errorprone.xml/EmptyWhileStmt" />
     
    +

    InaccessibleAuraEnabledGetter

    + +

    Since: PMD 6.36.0

    + +

    Priority: Medium (3)

    + +
    		In the Summer '21 release, a mandatory security update enforces access modifiers on Apex properties in Lightning component markup.
    +		The update prevents access to private or protected Apex getters from Aura and Lightning Web Components.
    +
    + +

    This rule is defined by the following Java class: net.sourceforge.pmd.lang.apex.rule.errorprone.InaccessibleAuraEnabledGetterRule

    + +

    Example(s):

    + +
    public class Foo {
    +    @AuraEnabled
    +    public Integer counter { private get; set; } // Violating - Private getter is inaccessible to Lightning components
    +
    +    @AuraEnabled
    +    public static Foo bar()
    +    {
    +        Foo foo = new Foo();
    +        foo.counter = 2; 
    +        return foo;
    +    }
    +}
    +
    + +
    public class Foo {
    +    @AuraEnabled
    +    public Integer counter { protected get; set; } // Violating - Protected getter is inaccessible to Lightning components
    +
    +    @AuraEnabled
    +    public static Foo bar()
    +    {
    +        Foo foo = new Foo();
    +        foo.counter = 2; 
    +        return foo;
    +    }
    +}
    +
    + +
    public class Foo {
    +    @AuraEnabled
    +    public Integer counter { get; set; } // Compliant - Public getter is accessible to Lightning components
    +
    +    @AuraEnabled
    +    public static Foo bar()
    +    {
    +        Foo foo = new Foo();
    +        foo.counter = 2; 
    +        return foo;
    +    }
    +}
    +
    + +

    This rule has the following properties:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameDefault ValueDescriptionMultivalued
    cc_categoriesStyleDeprecated Code Climate Categoriesyes. Delimiter is ‘|’.
    cc_remediation_points_multiplier1Deprecated Code Climate Remediation Points multiplierno
    cc_block_highlightingfalseDeprecated Code Climate Block Highlightingno
    + +

    Use this rule with the default properties by just referencing it:

    +
    <rule ref="category/apex/errorprone.xml/InaccessibleAuraEnabledGetter" />
    +
    +

    MethodWithSameNameAsEnclosingClass

    Since: PMD 5.5.0

    @@ -2240,7 +2333,7 @@ dealing with legacy code.

    diff --git a/pmd_rules_apex_performance.html b/pmd_rules_apex_performance.html index c16363107c..5e08893c8e 100644 --- a/pmd_rules_apex_performance.html +++ b/pmd_rules_apex_performance.html @@ -1710,7 +1710,7 @@ by the more general rule diff --git a/pmd_rules_apex_security.html b/pmd_rules_apex_security.html index 5a58324f72..29fdba09c7 100644 --- a/pmd_rules_apex_security.html +++ b/pmd_rules_apex_security.html @@ -2129,7 +2129,7 @@ to avoid XSS attacks.

    diff --git a/pmd_rules_ecmascript.html b/pmd_rules_ecmascript.html index ba14e7c89a..dfa5b10d52 100644 --- a/pmd_rules_ecmascript.html +++ b/pmd_rules_ecmascript.html @@ -1528,7 +1528,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_ecmascript_bestpractices.html b/pmd_rules_ecmascript_bestpractices.html index fb444a39d8..ca2c1cc9e9 100644 --- a/pmd_rules_ecmascript_bestpractices.html +++ b/pmd_rules_ecmascript_bestpractices.html @@ -1652,7 +1652,7 @@ It also improves readability, if the base is given.

    diff --git a/pmd_rules_ecmascript_codestyle.html b/pmd_rules_ecmascript_codestyle.html index 57c948b16c..c853b3fca0 100644 --- a/pmd_rules_ecmascript_codestyle.html +++ b/pmd_rules_ecmascript_codestyle.html @@ -1794,7 +1794,7 @@ will never execute. This is a bug, or extremely poor style.

    diff --git a/pmd_rules_ecmascript_errorprone.html b/pmd_rules_ecmascript_errorprone.html index d28619b39d..cd094d6cb1 100644 --- a/pmd_rules_ecmascript_errorprone.html +++ b/pmd_rules_ecmascript_errorprone.html @@ -1575,7 +1575,7 @@ precision in a floating point number. This may result in numeric calculations b
    diff --git a/pmd_rules_java.html b/pmd_rules_java.html index 8b81d77d65..56be2cf1b2 100644 --- a/pmd_rules_java.html +++ b/pmd_rules_java.html @@ -2095,7 +2095,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_java_bestpractices.html b/pmd_rules_java_bestpractices.html index cd5e8da0ea..4c5ab814e6 100644 --- a/pmd_rules_java_bestpractices.html +++ b/pmd_rules_java_bestpractices.html @@ -3872,7 +3872,7 @@ a block {} is sufficie
    diff --git a/pmd_rules_java_codestyle.html b/pmd_rules_java_codestyle.html index 1f78512931..a44336c40f 100644 --- a/pmd_rules_java_codestyle.html +++ b/pmd_rules_java_codestyle.html @@ -4709,7 +4709,7 @@ by the rule
    diff --git a/pmd_rules_java_design.html b/pmd_rules_java_design.html index 4518279048..d24eed120a 100644 --- a/pmd_rules_java_design.html +++ b/pmd_rules_java_design.html @@ -4116,7 +4116,7 @@ remember to add a private constructor to prevent instantiation.
    diff --git a/pmd_rules_java_documentation.html b/pmd_rules_java_documentation.html index fb55bf4547..2be54708b0 100644 --- a/pmd_rules_java_documentation.html +++ b/pmd_rules_java_documentation.html @@ -1764,7 +1764,7 @@ empty methods.

    diff --git a/pmd_rules_java_errorprone.html b/pmd_rules_java_errorprone.html index 677f2358a3..99a2cd061e 100644 --- a/pmd_rules_java_errorprone.html +++ b/pmd_rules_java_errorprone.html @@ -5277,7 +5277,7 @@ Thread.currentThread().getContextClassLoader() instead.

    diff --git a/pmd_rules_java_multithreading.html b/pmd_rules_java_multithreading.html index 4ae435e617..a86e725011 100644 --- a/pmd_rules_java_multithreading.html +++ b/pmd_rules_java_multithreading.html @@ -1950,7 +1950,7 @@ one is chosen. The thread chosen is arbitrary; thus its usually safer to call n
    diff --git a/pmd_rules_java_performance.html b/pmd_rules_java_performance.html index 9881e4f643..2225ef6ac2 100644 --- a/pmd_rules_java_performance.html +++ b/pmd_rules_java_performance.html @@ -2578,7 +2578,7 @@ or StringBuffer.toString().length() == …

    diff --git a/pmd_rules_java_security.html b/pmd_rules_java_security.html index 25bbcdd71c..fdfdad4ada 100644 --- a/pmd_rules_java_security.html +++ b/pmd_rules_java_security.html @@ -1501,7 +1501,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_jsp.html b/pmd_rules_jsp.html index 64db3456a0..da72fd039a 100644 --- a/pmd_rules_jsp.html +++ b/pmd_rules_jsp.html @@ -1510,7 +1510,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_jsp_bestpractices.html b/pmd_rules_jsp_bestpractices.html index 93fe9030b0..d9698364b6 100644 --- a/pmd_rules_jsp_bestpractices.html +++ b/pmd_rules_jsp_bestpractices.html @@ -1543,7 +1543,7 @@ little other purpose. Consider switching to JSP comments.

    diff --git a/pmd_rules_jsp_codestyle.html b/pmd_rules_jsp_codestyle.html index 3734e43900..32a601a290 100644 --- a/pmd_rules_jsp_codestyle.html +++ b/pmd_rules_jsp_codestyle.html @@ -1460,7 +1460,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_jsp_design.html b/pmd_rules_jsp_design.html index e4bca81869..5d36b3f591 100644 --- a/pmd_rules_jsp_design.html +++ b/pmd_rules_jsp_design.html @@ -1551,7 +1551,7 @@ onload=calcDays;
    diff --git a/pmd_rules_jsp_errorprone.html b/pmd_rules_jsp_errorprone.html index bc9c313718..6e1453741b 100644 --- a/pmd_rules_jsp_errorprone.html +++ b/pmd_rules_jsp_errorprone.html @@ -1472,7 +1472,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_jsp_security.html b/pmd_rules_jsp_security.html index a3b0940430..2669274e2d 100644 --- a/pmd_rules_jsp_security.html +++ b/pmd_rules_jsp_security.html @@ -1493,7 +1493,7 @@ ${fn:escapeXml(expression)} <!-- instead, escape it --&g
    diff --git a/pmd_rules_modelica.html b/pmd_rules_modelica.html index 97957ea419..048282c06f 100644 --- a/pmd_rules_modelica.html +++ b/pmd_rules_modelica.html @@ -1459,7 +1459,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_modelica_bestpractices.html b/pmd_rules_modelica_bestpractices.html index 66f43f4e0a..0891ec5047 100644 --- a/pmd_rules_modelica_bestpractices.html +++ b/pmd_rules_modelica_bestpractices.html @@ -1535,7 +1535,7 @@ end Example;
    diff --git a/pmd_rules_plsql.html b/pmd_rules_plsql.html index d6bbbf705d..038dda644f 100644 --- a/pmd_rules_plsql.html +++ b/pmd_rules_plsql.html @@ -1539,7 +1539,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_plsql_bestpractices.html b/pmd_rules_plsql_bestpractices.html index f841cfbce5..8054d211d1 100644 --- a/pmd_rules_plsql_bestpractices.html +++ b/pmd_rules_plsql_bestpractices.html @@ -1501,7 +1501,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_plsql_codestyle.html b/pmd_rules_plsql_codestyle.html index b343ca17fd..559efce43a 100644 --- a/pmd_rules_plsql_codestyle.html +++ b/pmd_rules_plsql_codestyle.html @@ -1785,7 +1785,7 @@ https://docs.oracle.com/cd/B28359_01/appdev.111/b28370/static.htm#BABIIHBJ

    diff --git a/pmd_rules_plsql_design.html b/pmd_rules_plsql_design.html index b3eaf6d1c7..c3b03a303e 100644 --- a/pmd_rules_plsql_design.html +++ b/pmd_rules_plsql_design.html @@ -2425,7 +2425,7 @@ have more fine grained objects.

    diff --git a/pmd_rules_plsql_errorprone.html b/pmd_rules_plsql_errorprone.html index e10e2839f8..893ced44a6 100644 --- a/pmd_rules_plsql_errorprone.html +++ b/pmd_rules_plsql_errorprone.html @@ -1570,7 +1570,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_pom.html b/pmd_rules_pom.html index 9e8d28c297..72220aa717 100644 --- a/pmd_rules_pom.html +++ b/pmd_rules_pom.html @@ -1472,7 +1472,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_pom_errorprone.html b/pmd_rules_pom_errorprone.html index 1707db3abe..5ee4f59092 100644 --- a/pmd_rules_pom_errorprone.html +++ b/pmd_rules_pom_errorprone.html @@ -1541,7 +1541,7 @@ By far the most common problem is the use of ${project.version} in a BOM or pare
    diff --git a/pmd_rules_scala.html b/pmd_rules_scala.html index 84d2311f02..b15678352e 100644 --- a/pmd_rules_scala.html +++ b/pmd_rules_scala.html @@ -1454,7 +1454,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_vf.html b/pmd_rules_vf.html index 78f04ccaa2..3ccfa84702 100644 --- a/pmd_rules_vf.html +++ b/pmd_rules_vf.html @@ -1473,7 +1473,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_vf_security.html b/pmd_rules_vf_security.html index bca327161b..1c561f984e 100644 --- a/pmd_rules_vf_security.html +++ b/pmd_rules_vf_security.html @@ -1516,7 +1516,7 @@ on
    diff --git a/pmd_rules_vm.html b/pmd_rules_vm.html index 1845589804..821c971ab3 100644 --- a/pmd_rules_vm.html +++ b/pmd_rules_vm.html @@ -1493,7 +1493,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_vm_bestpractices.html b/pmd_rules_vm_bestpractices.html index 8050e65193..4bce914a4c 100644 --- a/pmd_rules_vm_bestpractices.html +++ b/pmd_rules_vm_bestpractices.html @@ -1469,7 +1469,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_vm_design.html b/pmd_rules_vm_design.html index 21ea3b0e5c..889d484641 100644 --- a/pmd_rules_vm_design.html +++ b/pmd_rules_vm_design.html @@ -1583,7 +1583,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_vm_errorprone.html b/pmd_rules_vm_errorprone.html index 4f4d736cb9..e67e396a4a 100644 --- a/pmd_rules_vm_errorprone.html +++ b/pmd_rules_vm_errorprone.html @@ -1469,7 +1469,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_xml.html b/pmd_rules_xml.html index fdf1f07bd3..f8f7c6d364 100644 --- a/pmd_rules_xml.html +++ b/pmd_rules_xml.html @@ -1471,7 +1471,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_xml_errorprone.html b/pmd_rules_xml_errorprone.html index a7ced7b6f0..207a0982c1 100644 --- a/pmd_rules_xml_errorprone.html +++ b/pmd_rules_xml_errorprone.html @@ -1473,7 +1473,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_xsl.html b/pmd_rules_xsl.html index 799b3be816..9c44a787ae 100644 --- a/pmd_rules_xsl.html +++ b/pmd_rules_xsl.html @@ -1479,7 +1479,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_xsl_codestyle.html b/pmd_rules_xsl_codestyle.html index 94fb839199..7a3e496db8 100644 --- a/pmd_rules_xsl_codestyle.html +++ b/pmd_rules_xsl_codestyle.html @@ -1464,7 +1464,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_xsl_performance.html b/pmd_rules_xsl_performance.html index b2f2463c23..b27a048099 100644 --- a/pmd_rules_xsl_performance.html +++ b/pmd_rules_xsl_performance.html @@ -1507,7 +1507,7 @@ cutting through 100% of the document.

    diff --git a/pmd_userdocs_best_practices.html b/pmd_userdocs_best_practices.html index 825d09a10a..39905aedf2 100644 --- a/pmd_userdocs_best_practices.html +++ b/pmd_userdocs_best_practices.html @@ -1476,7 +1476,7 @@ and soon you’ll be fixing problems much faster.

    diff --git a/pmd_userdocs_cli_reference.html b/pmd_userdocs_cli_reference.html index 089e9a6d7d..8aacfe919c 100644 --- a/pmd_userdocs_cli_reference.html +++ b/pmd_userdocs_cli_reference.html @@ -2095,7 +2095,7 @@ All formats are described at
    PMD Repo
    diff --git a/pmd_userdocs_configuring_rules.html b/pmd_userdocs_configuring_rules.html index 572ff104ec..f980339d4a 100644 --- a/pmd_userdocs_configuring_rules.html +++ b/pmd_userdocs_configuring_rules.html @@ -1502,7 +1502,7 @@ will cause the rule to be ignored.

    diff --git a/pmd_userdocs_cpd.html b/pmd_userdocs_cpd.html index 12c150f674..9abeed51d7 100644 --- a/pmd_userdocs_cpd.html +++ b/pmd_userdocs_cpd.html @@ -2481,7 +2481,7 @@ the comment based approach will be extended to those of them that can support it
    diff --git a/pmd_userdocs_cpd_report_formats.html b/pmd_userdocs_cpd_report_formats.html index 58b7fa12a0..f192c4f63e 100644 --- a/pmd_userdocs_cpd_report_formats.html +++ b/pmd_userdocs_cpd_report_formats.html @@ -1653,7 +1653,7 @@ is shown in the console. You can then click on the filenames to jump to the sour
    diff --git a/pmd_userdocs_extending_defining_properties.html b/pmd_userdocs_extending_defining_properties.html index 964409dfa6..62f0b0ecf0 100644 --- a/pmd_userdocs_extending_defining_properties.html +++ b/pmd_userdocs_extending_defining_properties.html @@ -1652,7 +1652,7 @@ are supported.

    diff --git a/pmd_userdocs_extending_designer_reference.html b/pmd_userdocs_extending_designer_reference.html index c84cfd9154..7f93a47ed9 100644 --- a/pmd_userdocs_extending_designer_reference.html +++ b/pmd_userdocs_extending_designer_reference.html @@ -1691,7 +1691,7 @@ The available language modules are those on the classpath of the app’s JVM. Th
    diff --git a/pmd_userdocs_extending_metrics_howto.html b/pmd_userdocs_extending_metrics_howto.html index a4029f3cc4..93d334c3d4 100644 --- a/pmd_userdocs_extending_metrics_howto.html +++ b/pmd_userdocs_extending_metrics_howto.html @@ -1777,7 +1777,7 @@ classes. Here’s the default behaviour by language and type of metric:

    diff --git a/pmd_userdocs_extending_rule_guidelines.html b/pmd_userdocs_extending_rule_guidelines.html index 0e945f3e8c..d9d0bf6000 100644 --- a/pmd_userdocs_extending_rule_guidelines.html +++ b/pmd_userdocs_extending_rule_guidelines.html @@ -1481,7 +1481,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_userdocs_extending_testing.html b/pmd_userdocs_extending_testing.html index cbbaf875f8..6ad82c33c0 100644 --- a/pmd_userdocs_extending_testing.html +++ b/pmd_userdocs_extending_testing.html @@ -1757,7 +1757,7 @@ will be executed twice.

    diff --git a/pmd_userdocs_extending_writing_java_rules.html b/pmd_userdocs_extending_writing_java_rules.html index 6d1ce5da48..c78842e349 100644 --- a/pmd_userdocs_extending_writing_java_rules.html +++ b/pmd_userdocs_extending_writing_java_rules.html @@ -1609,7 +1609,7 @@ the file
    diff --git a/pmd_userdocs_extending_writing_pmd_rules.html b/pmd_userdocs_extending_writing_pmd_rules.html index 0c4152c52e..3891f0fb3d 100644 --- a/pmd_userdocs_extending_writing_pmd_rules.html +++ b/pmd_userdocs_extending_writing_pmd_rules.html @@ -1473,7 +1473,7 @@ your rule
    diff --git a/pmd_userdocs_extending_writing_rules_intro.html b/pmd_userdocs_extending_writing_rules_intro.html index 70e3bed250..091b0efc49 100644 --- a/pmd_userdocs_extending_writing_rules_intro.html +++ b/pmd_userdocs_extending_writing_rules_intro.html @@ -1591,7 +1591,7 @@ your rule
    diff --git a/pmd_userdocs_extending_writing_xpath_rules.html b/pmd_userdocs_extending_writing_xpath_rules.html index 6b57b4b91e..081fcc88f1 100644 --- a/pmd_userdocs_extending_writing_xpath_rules.html +++ b/pmd_userdocs_extending_writing_xpath_rules.html @@ -1871,7 +1871,7 @@ deprecated and whose usages should be replaced with uses of diff --git a/pmd_userdocs_extending_your_first_rule.html b/pmd_userdocs_extending_your_first_rule.html index ff27e88764..c54ee18187 100644 --- a/pmd_userdocs_extending_your_first_rule.html +++ b/pmd_userdocs_extending_your_first_rule.html @@ -1580,7 +1580,7 @@ of a rule of type XPathRule, which is how XPath rules are implemented.

    diff --git a/pmd_userdocs_incremental_analysis.html b/pmd_userdocs_incremental_analysis.html index 9f158d7056..7583273037 100644 --- a/pmd_userdocs_incremental_analysis.html +++ b/pmd_userdocs_incremental_analysis.html @@ -1556,7 +1556,7 @@ same execution classpath).

    diff --git a/pmd_userdocs_installation.html b/pmd_userdocs_installation.html index 1e1b335ea4..7ef7ceeaa8 100644 --- a/pmd_userdocs_installation.html +++ b/pmd_userdocs_installation.html @@ -1616,7 +1616,7 @@ directory or a jar or zip file containing the sources.
    diff --git a/pmd_userdocs_making_rulesets.html b/pmd_userdocs_making_rulesets.html index 0fc6437574..effd59a390 100644 --- a/pmd_userdocs_making_rulesets.html +++ b/pmd_userdocs_making_rulesets.html @@ -1559,7 +1559,7 @@ a single rule reference.
    diff --git a/pmd_userdocs_report_formats.html b/pmd_userdocs_report_formats.html index c32801e803..1ead861da1 100644 --- a/pmd_userdocs_report_formats.html +++ b/pmd_userdocs_report_formats.html @@ -1822,7 +1822,7 @@ The output directory must exist. If not specified, the html files are created in
    diff --git a/pmd_userdocs_suppressing_warnings.html b/pmd_userdocs_suppressing_warnings.html index 7a2882b493..922475ff8a 100644 --- a/pmd_userdocs_suppressing_warnings.html +++ b/pmd_userdocs_suppressing_warnings.html @@ -1660,7 +1660,7 @@ violations you wish to suppress. XPath queries are explained in
    diff --git a/pmd_userdocs_tools.html b/pmd_userdocs_tools.html index b1a823cae8..10412016a1 100644 --- a/pmd_userdocs_tools.html +++ b/pmd_userdocs_tools.html @@ -1900,7 +1900,7 @@ the (blank Command Results) document, and then confirming that, “yes, I do rea
    diff --git a/pmd_userdocs_tools_ant.html b/pmd_userdocs_tools_ant.html index d25f35b7fa..83fa4e43a0 100644 --- a/pmd_userdocs_tools_ant.html +++ b/pmd_userdocs_tools_ant.html @@ -1879,7 +1879,7 @@ To prevent this from happening, increase the maximum memory usable by ant using
    diff --git a/pmd_userdocs_tools_ci.html b/pmd_userdocs_tools_ci.html index 97430c35c0..d480698bfb 100644 --- a/pmd_userdocs_tools_ci.html +++ b/pmd_userdocs_tools_ci.html @@ -1466,7 +1466,7 @@ result of the PMD maven plugin.

    diff --git a/pmd_userdocs_tools_gradle.html b/pmd_userdocs_tools_gradle.html index c654f023d1..67de5d5d9e 100644 --- a/pmd_userdocs_tools_gradle.html +++ b/pmd_userdocs_tools_gradle.html @@ -1509,7 +1509,7 @@ with the property toolVersion
    diff --git a/pmd_userdocs_tools_java_api.html b/pmd_userdocs_tools_java_api.html index 7920dfc554..07238fbdae 100644 --- a/pmd_userdocs_tools_java_api.html +++ b/pmd_userdocs_tools_java_api.html @@ -1684,7 +1684,7 @@ Then you can check the rendered output.

    diff --git a/pmd_userdocs_tools_maven.html b/pmd_userdocs_tools_maven.html index 1fc6885c32..566c81f602 100644 --- a/pmd_userdocs_tools_maven.html +++ b/pmd_userdocs_tools_maven.html @@ -1724,7 +1724,7 @@ the previous paragraph. Add the following property to your project now:

    diff --git a/search.json b/search.json index f0ec7e6c47..99778d3b7f 100644 --- a/search.json +++ b/search.json @@ -3186,6 +3186,15 @@ "url": "pmd_rules_apex_errorprone.html#testmethodsmustbeintestclasses", "summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." } +, + +{ +"title": "InaccessibleAuraEnabledGetter (Apex, Error Prone)", +"tags": "", +"keywords": "InaccessibleAuraEnabledGetter", +"url": "pmd_rules_apex_errorprone.html#inaccessibleauraenabledgetter", +"summary": "Rules to detect constructs that are either broken, extremely confusing or prone to runtime errors." +} diff --git a/tag_devdocs.html b/tag_devdocs.html index 1b030204bb..65a7cbb8e7 100644 --- a/tag_devdocs.html +++ b/tag_devdocs.html @@ -1954,7 +1954,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_extending.html b/tag_extending.html index 7a081bc5fe..43f094c02f 100644 --- a/tag_extending.html +++ b/tag_extending.html @@ -1978,7 +1978,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_getting_started.html b/tag_getting_started.html index 82485ed007..a4ed85700c 100644 --- a/tag_getting_started.html +++ b/tag_getting_started.html @@ -1912,7 +1912,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_languages.html b/tag_languages.html index cb84502214..4ac6690962 100644 --- a/tag_languages.html +++ b/tag_languages.html @@ -1888,7 +1888,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_metrics.html b/tag_metrics.html index c0b683e503..f616772462 100644 --- a/tag_metrics.html +++ b/tag_metrics.html @@ -1912,7 +1912,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_release_notes.html b/tag_release_notes.html index 7b527c9109..7661b47dd6 100644 --- a/tag_release_notes.html +++ b/tag_release_notes.html @@ -1888,7 +1888,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_rule_references.html b/tag_rule_references.html index 5123dfa752..e4a33dd48e 100644 --- a/tag_rule_references.html +++ b/tag_rule_references.html @@ -1960,7 +1960,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_tools.html b/tag_tools.html index b56668fe96..cd60c91b92 100644 --- a/tag_tools.html +++ b/tag_tools.html @@ -1924,7 +1924,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_troubleshooting.html b/tag_troubleshooting.html index 88d7508024..77113e1fac 100644 --- a/tag_troubleshooting.html +++ b/tag_troubleshooting.html @@ -1888,7 +1888,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_userdocs.html b/tag_userdocs.html index ec80ff5a80..ebb0852b2b 100644 --- a/tag_userdocs.html +++ b/tag_userdocs.html @@ -2044,7 +2044,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3