diff --git a/404.html b/404.html index 4a24c12bf1..c4d64f7a3e 100644 --- a/404.html +++ b/404.html @@ -1422,7 +1422,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/feed.xml b/feed.xml index 5f73e66302..f460e63327 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, 25 Aug 2020 13:03:31 +0000 - Tue, 25 Aug 2020 13:03:31 +0000 + Fri, 28 Aug 2020 12:35:45 +0000 + Fri, 28 Aug 2020 12:35:45 +0000 Jekyll v3.9.0 diff --git a/index.html b/index.html index 6d148b61f4..6625615bb6 100644 --- a/index.html +++ b/index.html @@ -6344,7 +6344,7 @@ $('#filter a').click(function (e) {
diff --git a/js/mydoc_scroll.html b/js/mydoc_scroll.html index 2edb104cef..598e2654b9 100644 --- a/js/mydoc_scroll.html +++ b/js/mydoc_scroll.html @@ -1656,7 +1656,7 @@ $('#small-box-links').localScroll({
diff --git a/license.html b/license.html index 2d38bd6015..d575514a73 100644 --- a/license.html +++ b/license.html @@ -1666,7 +1666,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/news.html b/news.html index fea8d04ad0..6bcd63071a 100644 --- a/news.html +++ b/news.html @@ -1417,7 +1417,7 @@
diff --git a/news_archive.html b/news_archive.html index 2b350404b2..0ab39d4cef 100644 --- a/news_archive.html +++ b/news_archive.html @@ -1418,7 +1418,7 @@
diff --git a/pmd_about_help.html b/pmd_about_help.html index f32165b77d..fe3e04e23f 100644 --- a/pmd_about_help.html +++ b/pmd_about_help.html @@ -1442,7 +1442,7 @@ through the archives (archive1 diff --git a/pmd_apex_metrics_index.html b/pmd_apex_metrics_index.html index 2ad765ceaa..6be555e208 100644 --- a/pmd_apex_metrics_index.html +++ b/pmd_apex_metrics_index.html @@ -1496,7 +1496,7 @@ flow statement.
diff --git a/pmd_devdocs_building.html b/pmd_devdocs_building.html index 908189f33c..fd551cef4c 100644 --- a/pmd_devdocs_building.html +++ b/pmd_devdocs_building.html @@ -1512,7 +1512,7 @@ please post here an
diff --git a/pmd_devdocs_development.html b/pmd_devdocs_development.html index f67333832a..4d1f7c7e48 100644 --- a/pmd_devdocs_development.html +++ b/pmd_devdocs_development.html @@ -1460,7 +1460,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 997ff238df..e4a0591cc9 100644 --- a/pmd_devdocs_experimental_ast_dump.html +++ b/pmd_devdocs_experimental_ast_dump.html @@ -1530,7 +1530,7 @@ with the name “a”.

diff --git a/pmd_devdocs_how_pmd_works.html b/pmd_devdocs_how_pmd_works.html index db0c9f71b8..b0984aba43 100644 --- a/pmd_devdocs_how_pmd_works.html +++ b/pmd_devdocs_how_pmd_works.html @@ -1476,7 +1476,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 66c819b6a3..41cd4f35da 100644 --- a/pmd_devdocs_major_adding_new_cpd_language.html +++ b/pmd_devdocs_major_adding_new_cpd_language.html @@ -1575,7 +1575,7 @@ call the method doTest
diff --git a/pmd_devdocs_major_adding_new_language.html b/pmd_devdocs_major_adding_new_language.html index 295c769009..1069c9794f 100644 --- a/pmd_devdocs_major_adding_new_language.html +++ b/pmd_devdocs_major_adding_new_language.html @@ -1426,7 +1426,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
  • Each AST class should have two constructors: one that takes an int id; and one that takes an instance of the parser, and an int id
  • -
  • It’s a good idea to create a parent AST class for all AST classes of the language. This simplies rule creation later. (see SimpleNode for Velocity and AbstractJavaNode for Java for example)
  • +
  • It’s a good idea to create a parent AST class for all AST classes of the language. This simplifies rule creation later. (see SimpleNode for Velocity and AbstractJavaNode for Java for example)
  • Note: These AST node classes are generated usually once by javacc/jjtree and can then be modified as needed.
  • @@ -1457,7 +1457,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3

    7. Create a rule violation factory

    8. Create a version handler

    @@ -1622,7 +1622,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 d75e2d2499..9b5a40b7cc 100644 --- a/pmd_devdocs_major_adding_new_metrics_framework.html +++ b/pmd_devdocs_major_adding_new_metrics_framework.html @@ -1475,7 +1475,7 @@ build a Signature<N> diff --git a/pmd_devdocs_pmdtester.html b/pmd_devdocs_pmdtester.html index 061b0d1412..d830af96e7 100644 --- a/pmd_devdocs_pmdtester.html +++ b/pmd_devdocs_pmdtester.html @@ -1444,7 +1444,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 4b51aafcdc..5bd2a00a2a 100644 --- a/pmd_devdocs_roadmap.html +++ b/pmd_devdocs_roadmap.html @@ -1565,7 +1565,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 9caab242e4..2b8ba1bd99 100644 --- a/pmd_devdocs_rule_deprecation_policy.html +++ b/pmd_devdocs_rule_deprecation_policy.html @@ -1534,7 +1534,7 @@ major release of PMD.

    diff --git a/pmd_devdocs_writing_documentation.html b/pmd_devdocs_writing_documentation.html index 8bc34a0de5..5d53872e1a 100644 --- a/pmd_devdocs_writing_documentation.html +++ b/pmd_devdocs_writing_documentation.html @@ -1681,7 +1681,7 @@ by specifying -Dpmd.doc.check
    diff --git a/pmd_java_metrics_index.html b/pmd_java_metrics_index.html index 999f389f5e..4922670041 100644 --- a/pmd_java_metrics_index.html +++ b/pmd_java_metrics_index.html @@ -1775,7 +1775,7 @@ In Proceedings ACM Symposium on Software Reusability, 1995.

    diff --git a/pmd_languages_jsp.html b/pmd_languages_jsp.html index 6415aad193..c1319e7b2b 100644 --- a/pmd_languages_jsp.html +++ b/pmd_languages_jsp.html @@ -1475,7 +1475,7 @@ contains only “.java” files, JSP files obviously will not be checked.

    diff --git a/pmd_next_major_development.html b/pmd_next_major_development.html index 06110dde3a..8030dd40c1 100644 --- a/pmd_next_major_development.html +++ b/pmd_next_major_development.html @@ -2643,7 +2643,7 @@ and will be removed with PMD 7.0.0. The rule is replaced by diff --git a/pmd_projectdocs_committers_main_landing_page.html b/pmd_projectdocs_committers_main_landing_page.html index 8b788ea651..19888134ab 100644 --- a/pmd_projectdocs_committers_main_landing_page.html +++ b/pmd_projectdocs_committers_main_landing_page.html @@ -1514,7 +1514,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 fb58136a9d..c31cb35262 100644 --- a/pmd_projectdocs_committers_merging_pull_requests.html +++ b/pmd_projectdocs_committers_merging_pull_requests.html @@ -1593,7 +1593,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 4fa4d7f0d6..84cc9109e7 100644 --- a/pmd_projectdocs_committers_releasing.html +++ b/pmd_projectdocs_committers_releasing.html @@ -1660,7 +1660,7 @@ and mvn versions:set -DnewVer
    diff --git a/pmd_projectdocs_credits.html b/pmd_projectdocs_credits.html index ee03b82859..db1a27fa32 100644 --- a/pmd_projectdocs_credits.html +++ b/pmd_projectdocs_credits.html @@ -1936,7 +1936,7 @@ PMD scoreboard formulas, pmd-dcpd optimizations
    diff --git a/pmd_projectdocs_faq.html b/pmd_projectdocs_faq.html index 93008064a5..573b704127 100644 --- a/pmd_projectdocs_faq.html +++ b/pmd_projectdocs_faq.html @@ -1469,7 +1469,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 3065820082..bed2cd928c 100644 --- a/pmd_projectdocs_trivia_meaning.html +++ b/pmd_projectdocs_trivia_meaning.html @@ -1438,7 +1438,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 11be2246ea..afc764ee80 100644 --- a/pmd_projectdocs_trivia_news.html +++ b/pmd_projectdocs_trivia_news.html @@ -1555,7 +1555,7 @@ interview with Ole-Martin and Tom

    diff --git a/pmd_projectdocs_trivia_products.html b/pmd_projectdocs_trivia_products.html index dede7686d8..c5ca2eed40 100644 --- a/pmd_projectdocs_trivia_products.html +++ b/pmd_projectdocs_trivia_products.html @@ -1486,7 +1486,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 7bff911711..deb4141f39 100644 --- a/pmd_projectdocs_trivia_similarprojects.html +++ b/pmd_projectdocs_trivia_similarprojects.html @@ -1493,7 +1493,7 @@ only for maven project.
    diff --git a/pmd_release_notes.html b/pmd_release_notes.html index f3430982b1..a6e7a17b49 100644 --- a/pmd_release_notes.html +++ b/pmd_release_notes.html @@ -1626,6 +1626,7 @@ are deprecated as internal API.
  • #2732: Cleanup: use StandardCharsets instead of Charset.forName - XenoAmess
  • #2733: Cleanup: Collection::addAll issues - XenoAmess
  • #2734: Cleanup: use try with resources - XenoAmess
  • +
  • #2744: Cleanup: fix typos - XenoAmess
  • @@ -1644,7 +1645,7 @@ are deprecated as internal API.
    diff --git a/pmd_release_notes_old.html b/pmd_release_notes_old.html index c2da035671..2f3508d1e6 100644 --- a/pmd_release_notes_old.html +++ b/pmd_release_notes_old.html @@ -12517,7 +12517,7 @@ Added new HTML report format
    diff --git a/pmd_rules_apex.html b/pmd_rules_apex.html index de7359904a..94d0ef150f 100644 --- a/pmd_rules_apex.html +++ b/pmd_rules_apex.html @@ -1634,7 +1634,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 7c1b39ae5d..acc5de4a66 100644 --- a/pmd_rules_apex_bestpractices.html +++ b/pmd_rules_apex_bestpractices.html @@ -1934,7 +1934,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 bf483a1442..60144b12da 100644 --- a/pmd_rules_apex_codestyle.html +++ b/pmd_rules_apex_codestyle.html @@ -2507,7 +2507,7 @@ controlled from the rest.

    diff --git a/pmd_rules_apex_design.html b/pmd_rules_apex_design.html index 379e5832c0..f381af220b 100644 --- a/pmd_rules_apex_design.html +++ b/pmd_rules_apex_design.html @@ -1616,7 +1616,7 @@ program. As such, they include all control flow statements, such as ‘if’,

    Generally, numbers ranging from 1-4 denote low complexity, 5-7 denote moderate complexity, 8-10 denote high complexity, and 11+ is very high complexity. By default, this rule reports methods with a complexity >= 10. -Additionnally, classes with many methods of moderate complexity get reported as well once the total of their +Additionally, classes with many methods of moderate complexity get reported as well once the total of their methods’ complexities reaches 40, even if none of the methods was directly reported.

    Reported methods should be broken down into several smaller methods. Reported classes should probably be broken down @@ -2464,7 +2464,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 14ff2ef583..7a98a6ff61 100644 --- a/pmd_rules_apex_documentation.html +++ b/pmd_rules_apex_documentation.html @@ -1495,7 +1495,7 @@ order as the method signature.
    diff --git a/pmd_rules_apex_errorprone.html b/pmd_rules_apex_errorprone.html index 16c6cf2a8a..7f107b80e2 100644 --- a/pmd_rules_apex_errorprone.html +++ b/pmd_rules_apex_errorprone.html @@ -2148,7 +2148,7 @@ dealing with legacy code.

    diff --git a/pmd_rules_apex_performance.html b/pmd_rules_apex_performance.html index b3c793bb86..36477ac6d7 100644 --- a/pmd_rules_apex_performance.html +++ b/pmd_rules_apex_performance.html @@ -1598,7 +1598,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_apex_security.html b/pmd_rules_apex_security.html index 8d187dce28..0fed93ec5a 100644 --- a/pmd_rules_apex_security.html +++ b/pmd_rules_apex_security.html @@ -2105,7 +2105,7 @@ to avoid XSS attacks.

    diff --git a/pmd_rules_ecmascript.html b/pmd_rules_ecmascript.html index c7351a209d..165a79c10f 100644 --- a/pmd_rules_ecmascript.html +++ b/pmd_rules_ecmascript.html @@ -1511,7 +1511,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 73ce6dd587..dcb8ddc653 100644 --- a/pmd_rules_ecmascript_bestpractices.html +++ b/pmd_rules_ecmascript_bestpractices.html @@ -1633,7 +1633,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 b6215b39f4..570bdb9e22 100644 --- a/pmd_rules_ecmascript_codestyle.html +++ b/pmd_rules_ecmascript_codestyle.html @@ -1775,7 +1775,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 351f06669f..ec64dfbde3 100644 --- a/pmd_rules_ecmascript_errorprone.html +++ b/pmd_rules_ecmascript_errorprone.html @@ -1556,7 +1556,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 71e658c641..0054b09d0d 100644 --- a/pmd_rules_java.html +++ b/pmd_rules_java.html @@ -2073,7 +2073,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 2782cc0244..40335a225b 100644 --- a/pmd_rules_java_bestpractices.html +++ b/pmd_rules_java_bestpractices.html @@ -3713,7 +3713,7 @@ a block {} is sufficie
    diff --git a/pmd_rules_java_codestyle.html b/pmd_rules_java_codestyle.html index ee4890101b..062b8ee65b 100644 --- a/pmd_rules_java_codestyle.html +++ b/pmd_rules_java_codestyle.html @@ -4636,7 +4636,7 @@ by the rule diff --git a/pmd_rules_java_design.html b/pmd_rules_java_design.html index 3e101e86a9..fd2828e761 100644 --- a/pmd_rules_java_design.html +++ b/pmd_rules_java_design.html @@ -1858,7 +1858,7 @@ details on the calculation, see the documentation of the diff --git a/pmd_rules_java_documentation.html b/pmd_rules_java_documentation.html index c43b917253..40e2f539c3 100644 --- a/pmd_rules_java_documentation.html +++ b/pmd_rules_java_documentation.html @@ -1745,7 +1745,7 @@ empty methods.

    diff --git a/pmd_rules_java_errorprone.html b/pmd_rules_java_errorprone.html index ee36540644..89be5677ed 100644 --- a/pmd_rules_java_errorprone.html +++ b/pmd_rules_java_errorprone.html @@ -5185,7 +5185,7 @@ Thread.currentThread().getContextClassLoader() instead.

    diff --git a/pmd_rules_java_multithreading.html b/pmd_rules_java_multithreading.html index 53928e785e..5a2b770524 100644 --- a/pmd_rules_java_multithreading.html +++ b/pmd_rules_java_multithreading.html @@ -1931,7 +1931,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 8ac40b2c0e..73b2e86232 100644 --- a/pmd_rules_java_performance.html +++ b/pmd_rules_java_performance.html @@ -2551,7 +2551,7 @@ or StringBuffer.toString().length() == …

    diff --git a/pmd_rules_java_security.html b/pmd_rules_java_security.html index 656aae55c4..b7bda89ec6 100644 --- a/pmd_rules_java_security.html +++ b/pmd_rules_java_security.html @@ -1482,7 +1482,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 ed78afd94e..17dc420a74 100644 --- a/pmd_rules_jsp.html +++ b/pmd_rules_jsp.html @@ -1493,7 +1493,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 ccd7a396ac..e5dd4321c7 100644 --- a/pmd_rules_jsp_bestpractices.html +++ b/pmd_rules_jsp_bestpractices.html @@ -1524,7 +1524,7 @@ little other purpose. Consider switching to JSP comments.

    diff --git a/pmd_rules_jsp_codestyle.html b/pmd_rules_jsp_codestyle.html index 7562ba9990..cd2bf5072e 100644 --- a/pmd_rules_jsp_codestyle.html +++ b/pmd_rules_jsp_codestyle.html @@ -1441,7 +1441,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 d76a542c0f..b042ba1bcd 100644 --- a/pmd_rules_jsp_design.html +++ b/pmd_rules_jsp_design.html @@ -1532,7 +1532,7 @@ onload=calcDays;
    diff --git a/pmd_rules_jsp_errorprone.html b/pmd_rules_jsp_errorprone.html index fdee4c40cd..fc837aa81c 100644 --- a/pmd_rules_jsp_errorprone.html +++ b/pmd_rules_jsp_errorprone.html @@ -1453,7 +1453,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 6f25551530..2208cde5c6 100644 --- a/pmd_rules_jsp_security.html +++ b/pmd_rules_jsp_security.html @@ -1474,7 +1474,7 @@ ${fn:escapeXml(expression)} <!-- instead, escape it --&g
    diff --git a/pmd_rules_modelica.html b/pmd_rules_modelica.html index 26716628b8..15e9f3c267 100644 --- a/pmd_rules_modelica.html +++ b/pmd_rules_modelica.html @@ -1442,7 +1442,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 1a9b936793..296b4ab2c1 100644 --- a/pmd_rules_modelica_bestpractices.html +++ b/pmd_rules_modelica_bestpractices.html @@ -1516,7 +1516,7 @@ end Example;
    diff --git a/pmd_rules_plsql.html b/pmd_rules_plsql.html index f13fb7b8d4..d78986b2f6 100644 --- a/pmd_rules_plsql.html +++ b/pmd_rules_plsql.html @@ -1522,7 +1522,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 cdf36ca874..7ff2190076 100644 --- a/pmd_rules_plsql_bestpractices.html +++ b/pmd_rules_plsql_bestpractices.html @@ -1482,7 +1482,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 d297be3bf7..6cdfde6978 100644 --- a/pmd_rules_plsql_codestyle.html +++ b/pmd_rules_plsql_codestyle.html @@ -1766,7 +1766,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 82a7cd6a98..6c98a12f7e 100644 --- a/pmd_rules_plsql_design.html +++ b/pmd_rules_plsql_design.html @@ -2406,7 +2406,7 @@ have more fine grained objects.

    diff --git a/pmd_rules_plsql_errorprone.html b/pmd_rules_plsql_errorprone.html index 0b346d14d9..541543ec67 100644 --- a/pmd_rules_plsql_errorprone.html +++ b/pmd_rules_plsql_errorprone.html @@ -1551,7 +1551,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 aa6ae650ae..aca17389d3 100644 --- a/pmd_rules_pom.html +++ b/pmd_rules_pom.html @@ -1455,7 +1455,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 fa88c76c0e..dd00a12ec4 100644 --- a/pmd_rules_pom_errorprone.html +++ b/pmd_rules_pom_errorprone.html @@ -1522,7 +1522,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 46f39abe13..d6135923cb 100644 --- a/pmd_rules_scala.html +++ b/pmd_rules_scala.html @@ -1435,7 +1435,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 7ffd2da331..2cf04e83c0 100644 --- a/pmd_rules_vf.html +++ b/pmd_rules_vf.html @@ -1455,7 +1455,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 2468c25436..f0f1ae4b9a 100644 --- a/pmd_rules_vf_security.html +++ b/pmd_rules_vf_security.html @@ -1460,7 +1460,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/pmd_rules_vm.html b/pmd_rules_vm.html index 1dc333c547..4a5fc8f231 100644 --- a/pmd_rules_vm.html +++ b/pmd_rules_vm.html @@ -1476,7 +1476,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 281158b308..5db0a873aa 100644 --- a/pmd_rules_vm_bestpractices.html +++ b/pmd_rules_vm_bestpractices.html @@ -1450,7 +1450,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 0d88c487ce..aabf238748 100644 --- a/pmd_rules_vm_design.html +++ b/pmd_rules_vm_design.html @@ -1564,7 +1564,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 329dbbf53a..fbad27ab5d 100644 --- a/pmd_rules_vm_errorprone.html +++ b/pmd_rules_vm_errorprone.html @@ -1450,7 +1450,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 91db296d2d..67eddc6559 100644 --- a/pmd_rules_xml.html +++ b/pmd_rules_xml.html @@ -1454,7 +1454,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 1ce6b31bfe..4268f79664 100644 --- a/pmd_rules_xml_errorprone.html +++ b/pmd_rules_xml_errorprone.html @@ -1454,7 +1454,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 bb7cd8d3e0..dd5dd9bbd5 100644 --- a/pmd_rules_xsl.html +++ b/pmd_rules_xsl.html @@ -1419,7 +1419,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    Rules that flag suboptimal code.
      -
    • AvoidAxisNavigation: Avoid using the ‘following’ or ‘preceeding’ axes whenever possible, as these can cut through 100%…
    • +
    • AvoidAxisNavigation: Avoid using the ‘following’ or ‘preceding’ axes whenever possible, as these can cut through 100% …

    Additional rulesets

    @@ -1462,7 +1462,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 7e4a80938a..c14ce29abf 100644 --- a/pmd_rules_xsl_codestyle.html +++ b/pmd_rules_xsl_codestyle.html @@ -1445,7 +1445,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 208e00ae16..ab29607e61 100644 --- a/pmd_rules_xsl_performance.html +++ b/pmd_rules_xsl_performance.html @@ -1412,14 +1412,14 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3

    Priority: Medium (3)

    -

    Avoid using the ‘following’ or ‘preceeding’ axes whenever possible, as these can cut +

    Avoid using the ‘following’ or ‘preceding’ axes whenever possible, as these can cut through 100% of the document in the worst case. Also, try to avoid using ‘descendant’ -or ‘descendant-self’ axes, as if you’re at the top of the Document, it necessarily means +or ‘descendant-or-self’ axes, as if you’re at the top of the Document, it necessarily means cutting through 100% of the document.

    This rule is defined by the following XPath expression:

    //node()[
    -  contains(@select,'preceeding::')
    +  contains(@select,'preceding::')
       or
       contains(@select,'following::')
       or
    @@ -1488,7 +1488,7 @@ cutting through 100% of the document.

    diff --git a/pmd_userdocs_best_practices.html b/pmd_userdocs_best_practices.html index 99151215e5..f369321790 100644 --- a/pmd_userdocs_best_practices.html +++ b/pmd_userdocs_best_practices.html @@ -1457,7 +1457,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 38f957d75d..f32b561f4d 100644 --- a/pmd_userdocs_cli_reference.html +++ b/pmd_userdocs_cli_reference.html @@ -2076,7 +2076,7 @@ All formats are described at PMD Repo
    diff --git a/pmd_userdocs_configuring_rules.html b/pmd_userdocs_configuring_rules.html index 0b85641e27..7540550945 100644 --- a/pmd_userdocs_configuring_rules.html +++ b/pmd_userdocs_configuring_rules.html @@ -1483,7 +1483,7 @@ will cause the rule to be ignored.

    diff --git a/pmd_userdocs_cpd.html b/pmd_userdocs_cpd.html index 3815354fe7..c64bda86f6 100644 --- a/pmd_userdocs_cpd.html +++ b/pmd_userdocs_cpd.html @@ -2440,7 +2440,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 7ab245a09f..b869b3cc75 100644 --- a/pmd_userdocs_cpd_report_formats.html +++ b/pmd_userdocs_cpd_report_formats.html @@ -1464,7 +1464,7 @@ Starting at line 68 of /home/pmd/source/pmd-core/src/test/java/net/sourceforge/p ruleReference.setExternalInfoUrl("externalInfoUrl2"); ruleReference.setPriority(RulePriority.MEDIUM_HIGH); - validateOverridenValues(PROPERTY1_DESCRIPTOR, PROPERTY2_DESCRIPTOR, ruleReference); + validateOverriddenValues(PROPERTY1_DESCRIPTOR, PROPERTY2_DESCRIPTOR, ruleReference); ===================================================================== Found a 16 line (110 tokens) duplication in the following files: Starting at line 66 of /home/pmd/source/pmd-core/src/test/java/net/sourceforge/pmd/lang/rule/xpath/JaxenXPathRuleQueryTest.java @@ -1534,7 +1534,7 @@ Starting at line 110 of /home/pmd/source/pmd-core/src/test/java/net/sourceforge/ ruleReference.setExternalInfoUrl("externalInfoUrl2"); ruleReference.setPriority(RulePriority.MEDIUM_HIGH); - validateOverridenValues(PROPERTY1_DESCRIPTOR, PROPERTY2_DESCRIPTOR, ruleReference);]]>
    </codefragment> + validateOverriddenValues(PROPERTY1_DESCRIPTOR, PROPERTY2_DESCRIPTOR, ruleReference);]]></codefragment> </duplication> <duplication lines="16" tokens="110"> <file column="9" endcolumn="28" endline="81" line="66" @@ -1634,7 +1634,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 75be9ed1b1..edf972cc4a 100644 --- a/pmd_userdocs_extending_defining_properties.html +++ b/pmd_userdocs_extending_defining_properties.html @@ -1633,7 +1633,7 @@ are supported.

    diff --git a/pmd_userdocs_extending_designer_reference.html b/pmd_userdocs_extending_designer_reference.html index 266918f673..989e4cedd5 100644 --- a/pmd_userdocs_extending_designer_reference.html +++ b/pmd_userdocs_extending_designer_reference.html @@ -1672,7 +1672,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 2ab6b813b3..b066774e93 100644 --- a/pmd_userdocs_extending_metrics_howto.html +++ b/pmd_userdocs_extending_metrics_howto.html @@ -1638,7 +1638,7 @@ patterns you may want to look at: value. That’s especially good to implement metrics that count some kind of node, e.g.
    NPath complexity or NCSS. -Additionnally, it makes your metric more easily generalisable to other node types.

    +Additionally, it makes your metric more easily generalisable to other node types.

  • Signature matching metrics: That’s even more straightforward when you want @@ -1758,7 +1758,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 0eba61c1b6..f0d97a773e 100644 --- a/pmd_userdocs_extending_rule_guidelines.html +++ b/pmd_userdocs_extending_rule_guidelines.html @@ -1462,7 +1462,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 9908c05e81..3217672ccb 100644 --- a/pmd_userdocs_extending_testing.html +++ b/pmd_userdocs_extending_testing.html @@ -1738,7 +1738,7 @@ will be executed twice.

    diff --git a/pmd_userdocs_extending_writing_java_rules.html b/pmd_userdocs_extending_writing_java_rules.html index 3fb3dce507..35ba8521a7 100644 --- a/pmd_userdocs_extending_writing_java_rules.html +++ b/pmd_userdocs_extending_writing_java_rules.html @@ -1590,7 +1590,7 @@ the file
  • diff --git a/pmd_userdocs_extending_writing_pmd_rules.html b/pmd_userdocs_extending_writing_pmd_rules.html index 11b7bee12f..3b121b2050 100644 --- a/pmd_userdocs_extending_writing_pmd_rules.html +++ b/pmd_userdocs_extending_writing_pmd_rules.html @@ -1454,7 +1454,7 @@ your rule
    diff --git a/pmd_userdocs_extending_writing_rules_intro.html b/pmd_userdocs_extending_writing_rules_intro.html index f949add0de..892daa46da 100644 --- a/pmd_userdocs_extending_writing_rules_intro.html +++ b/pmd_userdocs_extending_writing_rules_intro.html @@ -1572,7 +1572,7 @@ your rule
    diff --git a/pmd_userdocs_extending_writing_xpath_rules.html b/pmd_userdocs_extending_writing_xpath_rules.html index c9b64ad3b0..90aeac3b47 100644 --- a/pmd_userdocs_extending_writing_xpath_rules.html +++ b/pmd_userdocs_extending_writing_xpath_rules.html @@ -1842,7 +1842,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 66ea80471f..a8076a5a5b 100644 --- a/pmd_userdocs_extending_your_first_rule.html +++ b/pmd_userdocs_extending_your_first_rule.html @@ -1561,7 +1561,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 3d22fa0362..f3ae3bdfe1 100644 --- a/pmd_userdocs_incremental_analysis.html +++ b/pmd_userdocs_incremental_analysis.html @@ -1537,7 +1537,7 @@ same execution classpath).

    diff --git a/pmd_userdocs_installation.html b/pmd_userdocs_installation.html index 5d7ac15f74..89f485b9eb 100644 --- a/pmd_userdocs_installation.html +++ b/pmd_userdocs_installation.html @@ -1590,7 +1590,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 fe8c3042a5..60cc6f50ae 100644 --- a/pmd_userdocs_making_rulesets.html +++ b/pmd_userdocs_making_rulesets.html @@ -1540,7 +1540,7 @@ a single rule reference.
    diff --git a/pmd_userdocs_report_formats.html b/pmd_userdocs_report_formats.html index 8eab6a33a4..5a646fda5b 100644 --- a/pmd_userdocs_report_formats.html +++ b/pmd_userdocs_report_formats.html @@ -1791,7 +1791,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 5fcf664c79..f92bfda7b1 100644 --- a/pmd_userdocs_suppressing_warnings.html +++ b/pmd_userdocs_suppressing_warnings.html @@ -1641,7 +1641,7 @@ violations you wish to suppress. XPath queries are explained in
    diff --git a/pmd_userdocs_tools.html b/pmd_userdocs_tools.html index 2659314b3c..6e8a593c63 100644 --- a/pmd_userdocs_tools.html +++ b/pmd_userdocs_tools.html @@ -1881,7 +1881,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 3445738fb9..b944635492 100644 --- a/pmd_userdocs_tools_ant.html +++ b/pmd_userdocs_tools_ant.html @@ -1860,7 +1860,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 804583a6c1..a571f9b383 100644 --- a/pmd_userdocs_tools_ci.html +++ b/pmd_userdocs_tools_ci.html @@ -1415,7 +1415,7 @@ Please check the plugin homepage for more info.

    Continuum

    -

    Continous does not have a plugin for PMD per see, but can failed the build according to the +

    Continuum does not have a plugin for PMD per see, but can failed the build according to the result of the PMD maven plugin.

    @@ -1447,7 +1447,7 @@ result of the PMD maven plugin.

    diff --git a/pmd_userdocs_tools_gradle.html b/pmd_userdocs_tools_gradle.html index 3c03712295..5fa5ece131 100644 --- a/pmd_userdocs_tools_gradle.html +++ b/pmd_userdocs_tools_gradle.html @@ -1490,7 +1490,7 @@ with the property toolVersion
    diff --git a/pmd_userdocs_tools_java_api.html b/pmd_userdocs_tools_java_api.html index 0124b4b523..4724679941 100644 --- a/pmd_userdocs_tools_java_api.html +++ b/pmd_userdocs_tools_java_api.html @@ -1706,7 +1706,7 @@ Then you can check the rendered output.

    diff --git a/pmd_userdocs_tools_maven.html b/pmd_userdocs_tools_maven.html index 22d6e4d805..2c0f662e58 100644 --- a/pmd_userdocs_tools_maven.html +++ b/pmd_userdocs_tools_maven.html @@ -1705,7 +1705,7 @@ the previous paragraph. Add the following property to your project now:

    diff --git a/tag_devdocs.html b/tag_devdocs.html index a2ec6cdcf0..c22347ac9b 100644 --- a/tag_devdocs.html +++ b/tag_devdocs.html @@ -1931,7 +1931,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_extending.html b/tag_extending.html index ba831aa9b9..fbb7f70578 100644 --- a/tag_extending.html +++ b/tag_extending.html @@ -1955,7 +1955,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 be189db89d..c57d41129d 100644 --- a/tag_getting_started.html +++ b/tag_getting_started.html @@ -1889,7 +1889,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_languages.html b/tag_languages.html index 1d243af1d4..ae735dd643 100644 --- a/tag_languages.html +++ b/tag_languages.html @@ -1865,7 +1865,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_metrics.html b/tag_metrics.html index f3dbbcf091..4db76cb9a5 100644 --- a/tag_metrics.html +++ b/tag_metrics.html @@ -1889,7 +1889,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 404f6cbeb9..03e3bbf24c 100644 --- a/tag_release_notes.html +++ b/tag_release_notes.html @@ -1865,7 +1865,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 5919f15dd0..d7668e449a 100644 --- a/tag_rule_references.html +++ b/tag_rule_references.html @@ -1937,7 +1937,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_tools.html b/tag_tools.html index 249a740510..25e10a0007 100644 --- a/tag_tools.html +++ b/tag_tools.html @@ -1901,7 +1901,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_troubleshooting.html b/tag_troubleshooting.html index 7e8f487b57..e426314bfa 100644 --- a/tag_troubleshooting.html +++ b/tag_troubleshooting.html @@ -1865,7 +1865,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_userdocs.html b/tag_userdocs.html index 918ab6bc9b..d8d7f3a07c 100644 --- a/tag_userdocs.html +++ b/tag_userdocs.html @@ -2021,7 +2021,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3