diff --git a/404.html b/404.html index 30361ca2e4..2c187c0d81 100644 --- a/404.html +++ b/404.html @@ -1385,7 +1385,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/feed.xml b/feed.xml index d8cfdbe977..c05dc5d347 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/ - Sat, 29 Feb 2020 10:59:04 +0000 - Sat, 29 Feb 2020 10:59:04 +0000 + Mon, 02 Mar 2020 18:14:20 +0000 + Mon, 02 Mar 2020 18:14:20 +0000 Jekyll v3.8.5 diff --git a/index.html b/index.html index 85b841550e..82bd3e833b 100644 --- a/index.html +++ b/index.html @@ -6303,7 +6303,7 @@ $('#filter a').click(function (e) {
diff --git a/js/mydoc_scroll.html b/js/mydoc_scroll.html index df1ded9094..868fdb9b07 100644 --- a/js/mydoc_scroll.html +++ b/js/mydoc_scroll.html @@ -1619,7 +1619,7 @@ $('#small-box-links').localScroll({
diff --git a/license.html b/license.html index ca5c1846e6..5e2195d0d2 100644 --- a/license.html +++ b/license.html @@ -1629,7 +1629,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/news.html b/news.html index c871b6c21d..0d6c5f1b11 100644 --- a/news.html +++ b/news.html @@ -1380,7 +1380,7 @@
diff --git a/news_archive.html b/news_archive.html index 809b978fbb..b2b36b8bc8 100644 --- a/news_archive.html +++ b/news_archive.html @@ -1381,7 +1381,7 @@
diff --git a/pmd_about_help.html b/pmd_about_help.html index 0230e47d04..adbb30ba06 100644 --- a/pmd_about_help.html +++ b/pmd_about_help.html @@ -1405,7 +1405,7 @@ through the archives (archive1 diff --git a/pmd_apex_metrics_index.html b/pmd_apex_metrics_index.html index 63a7a64133..01612dcb8f 100644 --- a/pmd_apex_metrics_index.html +++ b/pmd_apex_metrics_index.html @@ -1459,7 +1459,7 @@ flow statement.
diff --git a/pmd_devdocs_building.html b/pmd_devdocs_building.html index 7b1d4a6af5..c83a532937 100644 --- a/pmd_devdocs_building.html +++ b/pmd_devdocs_building.html @@ -1475,7 +1475,7 @@ please post here an
diff --git a/pmd_devdocs_development.html b/pmd_devdocs_development.html index 802866a243..eadd7dae81 100644 --- a/pmd_devdocs_development.html +++ b/pmd_devdocs_development.html @@ -1423,7 +1423,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 b511c82238..044dfdb79f 100644 --- a/pmd_devdocs_experimental_ast_dump.html +++ b/pmd_devdocs_experimental_ast_dump.html @@ -1493,7 +1493,7 @@ with the name “a”.

diff --git a/pmd_devdocs_how_pmd_works.html b/pmd_devdocs_how_pmd_works.html index 9b8db18a00..b9df42f70f 100644 --- a/pmd_devdocs_how_pmd_works.html +++ b/pmd_devdocs_how_pmd_works.html @@ -1439,7 +1439,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 9c9403ae0f..65bbf10b61 100644 --- a/pmd_devdocs_major_adding_new_cpd_language.html +++ b/pmd_devdocs_major_adding_new_cpd_language.html @@ -1469,7 +1469,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/pmd_devdocs_major_adding_new_language.html b/pmd_devdocs_major_adding_new_language.html index 2e4f0a7b4d..7403ad239e 100644 --- a/pmd_devdocs_major_adding_new_language.html +++ b/pmd_devdocs_major_adding_new_language.html @@ -1535,7 +1535,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 da2c644a1e..d2e10007ea 100644 --- a/pmd_devdocs_major_adding_new_metrics_framework.html +++ b/pmd_devdocs_major_adding_new_metrics_framework.html @@ -1438,7 +1438,7 @@ build a Signature<N> from a diff --git a/pmd_devdocs_pmdtester.html b/pmd_devdocs_pmdtester.html index fd4519c3f6..14101641a7 100644 --- a/pmd_devdocs_pmdtester.html +++ b/pmd_devdocs_pmdtester.html @@ -1407,7 +1407,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 5cf9fb8d3e..a5378732db 100644 --- a/pmd_devdocs_roadmap.html +++ b/pmd_devdocs_roadmap.html @@ -1528,7 +1528,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 a22db496a1..b470aa52df 100644 --- a/pmd_devdocs_rule_deprecation_policy.html +++ b/pmd_devdocs_rule_deprecation_policy.html @@ -1497,7 +1497,7 @@ major release of PMD.

diff --git a/pmd_devdocs_writing_documentation.html b/pmd_devdocs_writing_documentation.html index 8af8634389..a41889f8b6 100644 --- a/pmd_devdocs_writing_documentation.html +++ b/pmd_devdocs_writing_documentation.html @@ -1644,7 +1644,7 @@ by specifying -Dpmd.doc.checkExternalLinks=true<
diff --git a/pmd_java_metrics_index.html b/pmd_java_metrics_index.html index 632319399b..b4d12b7196 100644 --- a/pmd_java_metrics_index.html +++ b/pmd_java_metrics_index.html @@ -1738,7 +1738,7 @@ In Proceedings ACM Symposium on Software Reusability, 1995.

diff --git a/pmd_languages_jsp.html b/pmd_languages_jsp.html index 699e60a6d9..a74f3a6f0a 100644 --- a/pmd_languages_jsp.html +++ b/pmd_languages_jsp.html @@ -1438,7 +1438,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 385109f711..1bf5c023df 100644 --- a/pmd_next_major_development.html +++ b/pmd_next_major_development.html @@ -2170,7 +2170,7 @@ will be removed with PMD 7.0.0. The rule is replaced by the more general
diff --git a/pmd_projectdocs_committers_merging_pull_requests.html b/pmd_projectdocs_committers_merging_pull_requests.html index e5145f0124..f4b3a60372 100644 --- a/pmd_projectdocs_committers_merging_pull_requests.html +++ b/pmd_projectdocs_committers_merging_pull_requests.html @@ -1556,7 +1556,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 d9361f481c..953d901126 100644 --- a/pmd_projectdocs_committers_releasing.html +++ b/pmd_projectdocs_committers_releasing.html @@ -1594,7 +1594,7 @@ and mvn versions:set -DnewVersion=5.7.0-SNAPSHOT
diff --git a/pmd_projectdocs_credits.html b/pmd_projectdocs_credits.html index 92a67087b4..341d767ef6 100644 --- a/pmd_projectdocs_credits.html +++ b/pmd_projectdocs_credits.html @@ -1899,7 +1899,7 @@ PMD scoreboard formulas, pmd-dcpd optimizations
diff --git a/pmd_projectdocs_faq.html b/pmd_projectdocs_faq.html index c1cacf1869..c7e390bb2e 100644 --- a/pmd_projectdocs_faq.html +++ b/pmd_projectdocs_faq.html @@ -1432,7 +1432,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 dd54229fdf..959f9c9c77 100644 --- a/pmd_projectdocs_trivia_meaning.html +++ b/pmd_projectdocs_trivia_meaning.html @@ -1401,7 +1401,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 edf343d5ae..4c64d1cdad 100644 --- a/pmd_projectdocs_trivia_news.html +++ b/pmd_projectdocs_trivia_news.html @@ -1520,7 +1520,7 @@ interview with Ole-Martin and Tom

diff --git a/pmd_projectdocs_trivia_products.html b/pmd_projectdocs_trivia_products.html index 12f91b0a07..eb387ba9ca 100644 --- a/pmd_projectdocs_trivia_products.html +++ b/pmd_projectdocs_trivia_products.html @@ -1449,7 +1449,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 05e06c03af..198ca5b6b1 100644 --- a/pmd_projectdocs_trivia_similarprojects.html +++ b/pmd_projectdocs_trivia_similarprojects.html @@ -1456,7 +1456,7 @@ only for maven project.
diff --git a/pmd_release_notes.html b/pmd_release_notes.html index f452376109..f3c1d2ee15 100644 --- a/pmd_release_notes.html +++ b/pmd_release_notes.html @@ -1374,6 +1374,29 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3

New and noteworthy

+

Java 14 Support

+ +

This release of PMD brings support for Java 14. PMD can parse Switch Expressions, +which have been promoted to be a standard language feature of Java.

+ +

PMD also parses Text Blocks as String literals, which is still a preview +language feature in Java 14.

+ +

The new Pattern Matching for instanceof can be used as well as +Records.

+ +

Note: The Text Blocks, Pattern Matching for instanceof and Records are all preview language features of OpenJDK 14 +and are not enabled by default. In order to +analyze a project with PMD that uses these language features, you’ll need to enable it via the environment +variable PMD_JAVA_OPTS and select the new language version 14-preview:

+ +
export PMD_JAVA_OPTS=--enable-preview
+./run.sh pmd -language java -version 14-preview ...
+
+ +

Note: Support for the extended break statement introduced in Java 12 as a preview language feature +has been removed from PMD with this version. The version “12-preview” is no longer available.

+

Updated PMD Designer

This PMD release ships a new version of the pmd-designer. @@ -1425,6 +1448,7 @@ difficult it is for humans to read and understand a method.

  • java
      +
    • #2159: [java] Prepare for JDK 14
    • #2268: [java] Improve TypeHelper resilience
  • @@ -1578,7 +1602,7 @@ Use diff --git a/pmd_release_notes_old.html b/pmd_release_notes_old.html index e02f59b498..110fef850d 100644 --- a/pmd_release_notes_old.html +++ b/pmd_release_notes_old.html @@ -11285,7 +11285,7 @@ Added new HTML report format
    diff --git a/pmd_rules_apex.html b/pmd_rules_apex.html index d11c68041d..52aa08c23e 100644 --- a/pmd_rules_apex.html +++ b/pmd_rules_apex.html @@ -1594,7 +1594,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 fe3672c9ea..4dc12d6748 100644 --- a/pmd_rules_apex_bestpractices.html +++ b/pmd_rules_apex_bestpractices.html @@ -1840,7 +1840,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 dc3da946f2..26343f2724 100644 --- a/pmd_rules_apex_codestyle.html +++ b/pmd_rules_apex_codestyle.html @@ -2411,7 +2411,7 @@ controlled from the rest.

    diff --git a/pmd_rules_apex_design.html b/pmd_rules_apex_design.html index d7bb3e4a88..75f624558c 100644 --- a/pmd_rules_apex_design.html +++ b/pmd_rules_apex_design.html @@ -2424,7 +2424,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 ecda542869..63bc54f17d 100644 --- a/pmd_rules_apex_documentation.html +++ b/pmd_rules_apex_documentation.html @@ -1458,7 +1458,7 @@ order as the method signature.
    diff --git a/pmd_rules_apex_errorprone.html b/pmd_rules_apex_errorprone.html index 160f5917cb..221bf8f493 100644 --- a/pmd_rules_apex_errorprone.html +++ b/pmd_rules_apex_errorprone.html @@ -2019,7 +2019,7 @@ a while loop that does a lot in the exit expression, rewrite it to make it clear
    diff --git a/pmd_rules_apex_performance.html b/pmd_rules_apex_performance.html index ab490fff01..10d792790e 100644 --- a/pmd_rules_apex_performance.html +++ b/pmd_rules_apex_performance.html @@ -1561,7 +1561,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 d512d0916a..54d3d97845 100644 --- a/pmd_rules_apex_security.html +++ b/pmd_rules_apex_security.html @@ -2068,7 +2068,7 @@ to avoid XSS attacks.

    diff --git a/pmd_rules_ecmascript.html b/pmd_rules_ecmascript.html index 14a8555a59..74ffaca902 100644 --- a/pmd_rules_ecmascript.html +++ b/pmd_rules_ecmascript.html @@ -1474,7 +1474,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 5f3785f000..78277ceaf5 100644 --- a/pmd_rules_ecmascript_bestpractices.html +++ b/pmd_rules_ecmascript_bestpractices.html @@ -1596,7 +1596,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 38748700ab..522c16491a 100644 --- a/pmd_rules_ecmascript_codestyle.html +++ b/pmd_rules_ecmascript_codestyle.html @@ -1738,7 +1738,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 0bd4b98327..f492a61963 100644 --- a/pmd_rules_ecmascript_errorprone.html +++ b/pmd_rules_ecmascript_errorprone.html @@ -1520,7 +1520,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 3b96f84cc3..7dd1680c60 100644 --- a/pmd_rules_java.html +++ b/pmd_rules_java.html @@ -2030,7 +2030,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 28315ae9d0..34bfdffec4 100644 --- a/pmd_rules_java_bestpractices.html +++ b/pmd_rules_java_bestpractices.html @@ -3424,7 +3424,7 @@ a block {} is sufficient.

    diff --git a/pmd_rules_java_codestyle.html b/pmd_rules_java_codestyle.html index 137633e496..73d416970e 100644 --- a/pmd_rules_java_codestyle.html +++ b/pmd_rules_java_codestyle.html @@ -4517,7 +4517,7 @@ by the rule
    diff --git a/pmd_rules_java_design.html b/pmd_rules_java_design.html index ebd4dc735b..9f60fc0a68 100644 --- a/pmd_rules_java_design.html +++ b/pmd_rules_java_design.html @@ -3925,7 +3925,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 74ab178762..0065c66440 100644 --- a/pmd_rules_java_documentation.html +++ b/pmd_rules_java_documentation.html @@ -1706,7 +1706,7 @@ empty methods.

    diff --git a/pmd_rules_java_errorprone.html b/pmd_rules_java_errorprone.html index 2d6e4a41c3..3e0ef4ef60 100644 --- a/pmd_rules_java_errorprone.html +++ b/pmd_rules_java_errorprone.html @@ -5177,7 +5177,7 @@ Thread.currentThread().getContextClassLoader() instead.

    diff --git a/pmd_rules_java_multithreading.html b/pmd_rules_java_multithreading.html index 7c5a7719bf..1b63945eab 100644 --- a/pmd_rules_java_multithreading.html +++ b/pmd_rules_java_multithreading.html @@ -1856,7 +1856,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 f88c2ca28f..677506147a 100644 --- a/pmd_rules_java_performance.html +++ b/pmd_rules_java_performance.html @@ -2400,7 +2400,7 @@ or StringBuffer.toString().length() == …

    diff --git a/pmd_rules_java_security.html b/pmd_rules_java_security.html index 462cfdeb5d..80b0fcbf8d 100644 --- a/pmd_rules_java_security.html +++ b/pmd_rules_java_security.html @@ -1445,7 +1445,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 6b32185d40..c2c5271832 100644 --- a/pmd_rules_jsp.html +++ b/pmd_rules_jsp.html @@ -1456,7 +1456,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 a191469c63..045af99415 100644 --- a/pmd_rules_jsp_bestpractices.html +++ b/pmd_rules_jsp_bestpractices.html @@ -1487,7 +1487,7 @@ little other purpose. Consider switching to JSP comments.

    diff --git a/pmd_rules_jsp_codestyle.html b/pmd_rules_jsp_codestyle.html index 8bef86a3b6..1e8494feb4 100644 --- a/pmd_rules_jsp_codestyle.html +++ b/pmd_rules_jsp_codestyle.html @@ -1404,7 +1404,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 013fac6650..d699fb1633 100644 --- a/pmd_rules_jsp_design.html +++ b/pmd_rules_jsp_design.html @@ -1495,7 +1495,7 @@ onload=calcDays;
    diff --git a/pmd_rules_jsp_errorprone.html b/pmd_rules_jsp_errorprone.html index 06ebe96571..752372da5f 100644 --- a/pmd_rules_jsp_errorprone.html +++ b/pmd_rules_jsp_errorprone.html @@ -1416,7 +1416,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 9be78f1050..4a95eac881 100644 --- a/pmd_rules_jsp_security.html +++ b/pmd_rules_jsp_security.html @@ -1437,7 +1437,7 @@ ${fn:escapeXml(expression)} <!-- instead, escape it --&g
    diff --git a/pmd_rules_modelica.html b/pmd_rules_modelica.html index d66c51445a..b5c013e7af 100644 --- a/pmd_rules_modelica.html +++ b/pmd_rules_modelica.html @@ -1405,7 +1405,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 d5e65741fa..583c3477f4 100644 --- a/pmd_rules_modelica_bestpractices.html +++ b/pmd_rules_modelica_bestpractices.html @@ -1479,7 +1479,7 @@ end Example;
    diff --git a/pmd_rules_plsql.html b/pmd_rules_plsql.html index b382de56a1..404f081db8 100644 --- a/pmd_rules_plsql.html +++ b/pmd_rules_plsql.html @@ -1485,7 +1485,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 cead539fe3..7bda7c59d2 100644 --- a/pmd_rules_plsql_bestpractices.html +++ b/pmd_rules_plsql_bestpractices.html @@ -1445,7 +1445,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 c60b7b07e0..63dd8e32d8 100644 --- a/pmd_rules_plsql_codestyle.html +++ b/pmd_rules_plsql_codestyle.html @@ -1729,7 +1729,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 c0850afb0e..aaad66e8e1 100644 --- a/pmd_rules_plsql_design.html +++ b/pmd_rules_plsql_design.html @@ -2369,7 +2369,7 @@ have more fine grained objects.

    diff --git a/pmd_rules_plsql_errorprone.html b/pmd_rules_plsql_errorprone.html index 82df4f7e70..ac616951cd 100644 --- a/pmd_rules_plsql_errorprone.html +++ b/pmd_rules_plsql_errorprone.html @@ -1514,7 +1514,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 d0ed6d7111..faa64ef430 100644 --- a/pmd_rules_pom.html +++ b/pmd_rules_pom.html @@ -1418,7 +1418,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 ce0bb12ba7..187fd2fe33 100644 --- a/pmd_rules_pom_errorprone.html +++ b/pmd_rules_pom_errorprone.html @@ -1485,7 +1485,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 7f5cac2c8a..359f2cde16 100644 --- a/pmd_rules_scala.html +++ b/pmd_rules_scala.html @@ -1398,7 +1398,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 0606f6e949..0206bcd147 100644 --- a/pmd_rules_vf.html +++ b/pmd_rules_vf.html @@ -1418,7 +1418,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 5c0d6fcc1c..05782369e2 100644 --- a/pmd_rules_vf_security.html +++ b/pmd_rules_vf_security.html @@ -1423,7 +1423,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 d7a426d8a1..67896ed9d0 100644 --- a/pmd_rules_vm.html +++ b/pmd_rules_vm.html @@ -1439,7 +1439,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 85db2c2fa6..7dd81b4436 100644 --- a/pmd_rules_vm_bestpractices.html +++ b/pmd_rules_vm_bestpractices.html @@ -1413,7 +1413,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 db07fd9ae1..3f71f9617f 100644 --- a/pmd_rules_vm_design.html +++ b/pmd_rules_vm_design.html @@ -1527,7 +1527,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 532c262edf..047cc9ed80 100644 --- a/pmd_rules_vm_errorprone.html +++ b/pmd_rules_vm_errorprone.html @@ -1413,7 +1413,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 c03598abaf..d378796feb 100644 --- a/pmd_rules_xml.html +++ b/pmd_rules_xml.html @@ -1417,7 +1417,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 a747d9bb82..e2fa9d355f 100644 --- a/pmd_rules_xml_errorprone.html +++ b/pmd_rules_xml_errorprone.html @@ -1417,7 +1417,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 9f6b372b5f..8b8444ce97 100644 --- a/pmd_rules_xsl.html +++ b/pmd_rules_xsl.html @@ -1425,7 +1425,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 ffef35a2e1..bd919957cb 100644 --- a/pmd_rules_xsl_codestyle.html +++ b/pmd_rules_xsl_codestyle.html @@ -1408,7 +1408,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 20a2766526..a2928e0c63 100644 --- a/pmd_rules_xsl_performance.html +++ b/pmd_rules_xsl_performance.html @@ -1451,7 +1451,7 @@ cutting through 100% of the document.

    diff --git a/pmd_userdocs_best_practices.html b/pmd_userdocs_best_practices.html index 4e2874c6db..69f03ea73c 100644 --- a/pmd_userdocs_best_practices.html +++ b/pmd_userdocs_best_practices.html @@ -1420,7 +1420,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 b6797a8e89..9ef106ebb7 100644 --- a/pmd_userdocs_cli_reference.html +++ b/pmd_userdocs_cli_reference.html @@ -1990,7 +1990,8 @@ and -version parameter.

  • apex (Salesforce Apex)
  • java
      -
    • Supported Versions: 1.3, 1.4, 1.5, 5, 1.6, 6, 1.7, 7, 1.8, 8, 9, 1.9, 10, 1.10, 11, 12, 13 (default), 13-preview
    • +
    • Supported Versions: 1.3, 1.4, 1.5, 5, 1.6, 6, 1.7, 7, 1.8, 8, 9, 1.9, 10, 1.10, 11, 12, +13, 13-preview, 14 (default), 14-preview
  • ecmascript (JavaScript)
  • @@ -2139,7 +2140,7 @@ which can be specified with the -property
    diff --git a/pmd_userdocs_configuring_rules.html b/pmd_userdocs_configuring_rules.html index 31766e9af1..d46c51c265 100644 --- a/pmd_userdocs_configuring_rules.html +++ b/pmd_userdocs_configuring_rules.html @@ -1446,7 +1446,7 @@ will cause the rule to be ignored.

    diff --git a/pmd_userdocs_cpd.html b/pmd_userdocs_cpd.html index d6fea1edf9..40e7680157 100644 --- a/pmd_userdocs_cpd.html +++ b/pmd_userdocs_cpd.html @@ -2399,7 +2399,7 @@ the comment based approach will be extended to those of them that can support it
    diff --git a/pmd_userdocs_extending_defining_properties.html b/pmd_userdocs_extending_defining_properties.html index 0d8c340b8e..fd48c4584d 100644 --- a/pmd_userdocs_extending_defining_properties.html +++ b/pmd_userdocs_extending_defining_properties.html @@ -1596,7 +1596,7 @@ are supported.

    diff --git a/pmd_userdocs_extending_designer_reference.html b/pmd_userdocs_extending_designer_reference.html index 84373ceb6f..8c4d0a0c5f 100644 --- a/pmd_userdocs_extending_designer_reference.html +++ b/pmd_userdocs_extending_designer_reference.html @@ -1635,7 +1635,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 30ba9d10bd..b370d64585 100644 --- a/pmd_userdocs_extending_metrics_howto.html +++ b/pmd_userdocs_extending_metrics_howto.html @@ -1721,7 +1721,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 d119590802..9b799c3085 100644 --- a/pmd_userdocs_extending_rule_guidelines.html +++ b/pmd_userdocs_extending_rule_guidelines.html @@ -1425,7 +1425,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 745feb7574..0e3ae3d59b 100644 --- a/pmd_userdocs_extending_testing.html +++ b/pmd_userdocs_extending_testing.html @@ -1692,7 +1692,7 @@ will be executed twice.

    diff --git a/pmd_userdocs_extending_writing_java_rules.html b/pmd_userdocs_extending_writing_java_rules.html index 0fe3632d59..420dcf26e9 100644 --- a/pmd_userdocs_extending_writing_java_rules.html +++ b/pmd_userdocs_extending_writing_java_rules.html @@ -1553,7 +1553,7 @@ the file
    diff --git a/pmd_userdocs_extending_writing_pmd_rules.html b/pmd_userdocs_extending_writing_pmd_rules.html index 0174e3f2bb..89d7815fa5 100644 --- a/pmd_userdocs_extending_writing_pmd_rules.html +++ b/pmd_userdocs_extending_writing_pmd_rules.html @@ -1417,7 +1417,7 @@ your rule
    diff --git a/pmd_userdocs_extending_writing_rules_intro.html b/pmd_userdocs_extending_writing_rules_intro.html index de18e7a4cb..cd74120fa5 100644 --- a/pmd_userdocs_extending_writing_rules_intro.html +++ b/pmd_userdocs_extending_writing_rules_intro.html @@ -1529,7 +1529,7 @@ your rule
    diff --git a/pmd_userdocs_extending_writing_xpath_rules.html b/pmd_userdocs_extending_writing_xpath_rules.html index 00227e9a50..555ab89d6e 100644 --- a/pmd_userdocs_extending_writing_xpath_rules.html +++ b/pmd_userdocs_extending_writing_xpath_rules.html @@ -1797,7 +1797,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 347e32757c..1a0d3cde82 100644 --- a/pmd_userdocs_extending_your_first_rule.html +++ b/pmd_userdocs_extending_your_first_rule.html @@ -1524,7 +1524,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 de88ae8ff8..e12ec9eea0 100644 --- a/pmd_userdocs_incremental_analysis.html +++ b/pmd_userdocs_incremental_analysis.html @@ -1415,7 +1415,7 @@ few runs, you can use the diff --git a/pmd_userdocs_installation.html b/pmd_userdocs_installation.html index 0543ec7a8a..dadf6ef0a7 100644 --- a/pmd_userdocs_installation.html +++ b/pmd_userdocs_installation.html @@ -1553,7 +1553,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 01f2666d5e..6bf85d4829 100644 --- a/pmd_userdocs_making_rulesets.html +++ b/pmd_userdocs_making_rulesets.html @@ -1503,7 +1503,7 @@ a single rule reference.
    diff --git a/pmd_userdocs_suppressing_warnings.html b/pmd_userdocs_suppressing_warnings.html index 36d70d3315..e5ade290f7 100644 --- a/pmd_userdocs_suppressing_warnings.html +++ b/pmd_userdocs_suppressing_warnings.html @@ -1604,7 +1604,7 @@ violations you wish to suppress. XPath queries are explained in
    diff --git a/pmd_userdocs_tools.html b/pmd_userdocs_tools.html index 2473faddee..5ddd7d910b 100644 --- a/pmd_userdocs_tools.html +++ b/pmd_userdocs_tools.html @@ -1844,7 +1844,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 51c87d1448..ad47cec3b0 100644 --- a/pmd_userdocs_tools_ant.html +++ b/pmd_userdocs_tools_ant.html @@ -1581,8 +1581,10 @@ nested element. Possible values are:

    <sourceLanguage name="java" version="1.10"/> <!-- alias for 10 --> <sourceLanguage name="java" version="11"/> <sourceLanguage name="java" version="12"/> -<sourceLanguage name="java" version="13"/> <!-- this is the default --> +<sourceLanguage name="java" version="13"/> <sourceLanguage name="java" version="13-preview"/> +<sourceLanguage name="java" version="14"/> <!-- this is the default --> +<sourceLanguage name="java" version="14-preview"/> <sourceLanguage name="jsp" version=""/> <sourceLanguage name="modelica" version=""/> <sourceLanguage name="pom" version=""/> @@ -1818,7 +1820,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 f03ff22a8c..5ba5a0eb46 100644 --- a/pmd_userdocs_tools_ci.html +++ b/pmd_userdocs_tools_ci.html @@ -1410,7 +1410,7 @@ result of the PMD maven plugin.

    diff --git a/pmd_userdocs_tools_gradle.html b/pmd_userdocs_tools_gradle.html index f48a97c43d..ef026187b8 100644 --- a/pmd_userdocs_tools_gradle.html +++ b/pmd_userdocs_tools_gradle.html @@ -1453,7 +1453,7 @@ with the property toolVersion:

    diff --git a/pmd_userdocs_tools_java_api.html b/pmd_userdocs_tools_java_api.html index 601119b6cd..d3c1bdb4a6 100644 --- a/pmd_userdocs_tools_java_api.html +++ b/pmd_userdocs_tools_java_api.html @@ -1669,7 +1669,7 @@ Then you can check the rendered output.

    diff --git a/pmd_userdocs_tools_maven.html b/pmd_userdocs_tools_maven.html index e37a535797..f7b1d7c411 100644 --- a/pmd_userdocs_tools_maven.html +++ b/pmd_userdocs_tools_maven.html @@ -1631,7 +1631,7 @@ the previous paragraph. Add the following property to your project now:

    diff --git a/tag_devdocs.html b/tag_devdocs.html index 8fefa5e52c..86a88acb64 100644 --- a/tag_devdocs.html +++ b/tag_devdocs.html @@ -1886,7 +1886,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_extending.html b/tag_extending.html index bd09a34603..38715f0765 100644 --- a/tag_extending.html +++ b/tag_extending.html @@ -1910,7 +1910,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 c223d3bf26..6c95fd2a28 100644 --- a/tag_getting_started.html +++ b/tag_getting_started.html @@ -1844,7 +1844,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_languages.html b/tag_languages.html index 413178e4ed..10d453e0aa 100644 --- a/tag_languages.html +++ b/tag_languages.html @@ -1820,7 +1820,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_metrics.html b/tag_metrics.html index f73b4148dd..49a9e20d13 100644 --- a/tag_metrics.html +++ b/tag_metrics.html @@ -1844,7 +1844,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 c389521506..f363417a06 100644 --- a/tag_release_notes.html +++ b/tag_release_notes.html @@ -1820,7 +1820,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 4c261ca658..4c865cb843 100644 --- a/tag_rule_references.html +++ b/tag_rule_references.html @@ -1892,7 +1892,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_tools.html b/tag_tools.html index 33e48931f2..045eaa5b0b 100644 --- a/tag_tools.html +++ b/tag_tools.html @@ -1856,7 +1856,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_troubleshooting.html b/tag_troubleshooting.html index dbaad1978d..09e8ce956f 100644 --- a/tag_troubleshooting.html +++ b/tag_troubleshooting.html @@ -1820,7 +1820,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tag_userdocs.html b/tag_userdocs.html index 3487997fa3..196318ca48 100644 --- a/tag_userdocs.html +++ b/tag_userdocs.html @@ -1964,7 +1964,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/titlepage/index.html b/titlepage/index.html index 9895b9b0d4..db083a03f4 100644 --- a/titlepage/index.html +++ b/titlepage/index.html @@ -1369,7 +1369,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    -
    Last generated: February 29, 2020
    +
    Last generated: March 02, 2020

    @@ -1399,7 +1399,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
    diff --git a/tocpage/index.html b/tocpage/index.html index a9619bb0cd..f955dca2d7 100644 --- a/tocpage/index.html +++ b/tocpage/index.html @@ -1399,7 +1399,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3