diff --git a/404.html b/404.html index e3dd584fa4..dc88b66305 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 1ef99367c8..ff52483fac 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/ - Thu, 21 Jan 2021 17:56:02 +0000 - Thu, 21 Jan 2021 17:56:02 +0000 + Fri, 22 Jan 2021 12:01:47 +0000 + Fri, 22 Jan 2021 12:01:47 +0000 Jekyll v3.9.0 diff --git a/index.html b/index.html index 582175a37a..c7c964835e 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 4ec25638d1..3483ed3c2e 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 4648b51b2b..5ed60b2227 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 87e9796db5..c5fde29ef2 100644 --- a/news.html +++ b/news.html @@ -1417,7 +1417,7 @@
diff --git a/news_archive.html b/news_archive.html index 6585ab5dc3..ce649c9375 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 1bc0588462..7e88964fef 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 9853bdc852..9b953bb452 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 6f58068462..3ba4f6b379 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 e2a1f6fa53..2086c74295 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 b13b0ac8cf..ef746a1487 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 6fcab218ad..a7cfeb8412 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 0e060c4b32..423a4965c8 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 5d8fffdfb6..eeb50e6825 100644 --- a/pmd_devdocs_major_adding_new_language.html +++ b/pmd_devdocs_major_adding_new_language.html @@ -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 d6d18fb454..b83a291271 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 75af9af420..c34a0fc2af 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 33f8e55681..e76567a31e 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 d441cfc47f..5f8964a5d8 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 dca6a8a481..5d9f62db82 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 92fb9966e8..39502f138b 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 c29865036d..301fa49c0f 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 3676104f04..517cba7540 100644 --- a/pmd_next_major_development.html +++ b/pmd_next_major_development.html @@ -2794,7 +2794,7 @@ which was introduced in PMD 6.26.0.

diff --git a/pmd_projectdocs_committers_main_landing_page.html b/pmd_projectdocs_committers_main_landing_page.html index 18b56efe30..df93138c2c 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 3a1909c81a..3f34d75f07 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 45169f07d5..9aa0be0f56 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 c1f7f6d488..eaaaff3242 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 89732d1b9d..3d36d1cfa3 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 119c8c780f..70aa485d1d 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 8590d3448c..3cb27c9735 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 a169d3e348..bade27a3db 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 a1eaa12c05..c4bb6934ff 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 0a53462c31..74d22bd780 100644 --- a/pmd_release_notes.html +++ b/pmd_release_notes.html @@ -1433,6 +1433,19 @@ when using <style> +

Deprecated rules

+ +
    +
  • java-performance +
      +
    • AvoidUsingShortType: arithmetic on shorts is not significantly +slower than on ints, whereas using shorts may provide significant memory savings in arrays.
    • +
    • SimplifyStartsWith: the suggested code transformation has an +insignificant performance impact, and decreases readability.
    • +
    +
  • +
+

Fixed Issues

    @@ -1448,6 +1461,7 @@ when using <style>#2454: [java] UnusedPrivateMethod violation for disabled class in 6.23.0
  • #2833: [java] NPE in UseCollectionIsEmptyRule with enums
  • #2876: [java] UnusedPrivateField cannot override ignored annotations property
  • +
  • #2957: [java] Ignore unused declarations that have special name
  • java-codestyle @@ -1455,6 +1469,11 @@ when using <style>#2960: [java] Thread issue in MethodNamingConventionsRule
  • +
  • java-design +
      +
    • #3006: [java] NPE in SingularFieldRule with concise resource syntax
    • +
    +
  • java-errorprone
    • #2976: [java] CompareObjectsWithEquals: FP with array.length
    • @@ -1464,10 +1483,24 @@ when using <style>#3062: [java] CloseResource FP with reassigned stream
  • +
  • java-performance +
      +
    • #2296: [java] Deprecate rule AvoidUsingShortType
    • +
    • #2740: [java] Deprecate rule SimplifyStartsWith
    • +
    +
  • API Changes

    +

    Deprecated API

    + + +

    Experimental APIs