Currently there are no built-in rules yet for Scala.
+ +Contributions are welcome!
+ + + + + + + +From 9077669a87fe1af1115e72972328ffc023f22010 Mon Sep 17 00:00:00 2001
From: "Travis CI (pmd-bot)"
Signature<N>
from a
diff --git a/pmd_devdocs_roadmap.html b/pmd_devdocs_roadmap.html
index b58af0d5fa..b854fc754e 100644
--- a/pmd_devdocs_roadmap.html
+++ b/pmd_devdocs_roadmap.html
@@ -1446,7 +1446,7 @@ This should be configurable on per Rule basis similar to TR and SymbolTable.
diff --git a/pmd_devdocs_writing_documentation.html b/pmd_devdocs_writing_documentation.html
index f9dd87ec7c..ff0fe2ffd9 100644
--- a/pmd_devdocs_writing_documentation.html
+++ b/pmd_devdocs_writing_documentation.html
@@ -1562,7 +1562,7 @@ by specifying
-Dpmd.doc.checkExternalLinks=true<
diff --git a/pmd_java_metrics_index.html b/pmd_java_metrics_index.html
index 17e6db73f0..92960ab738 100644
--- a/pmd_java_metrics_index.html
+++ b/pmd_java_metrics_index.html
@@ -1616,7 +1616,7 @@ In Proceedings ACM Symposium on Software Reusability, 1995.
diff --git a/pmd_languages_jsp.html b/pmd_languages_jsp.html
index 694686f87d..0486e37e84 100644
--- a/pmd_languages_jsp.html
+++ b/pmd_languages_jsp.html
@@ -1356,7 +1356,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 c0d59078f9..00cd98db66 100644
--- a/pmd_next_major_development.html
+++ b/pmd_next_major_development.html
@@ -1876,7 +1876,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 9041ddb6df..a8993fa92b 100644
--- a/pmd_projectdocs_committers_merging_pull_requests.html
+++ b/pmd_projectdocs_committers_merging_pull_requests.html
@@ -1474,7 +1474,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 686d25468a..d071dd4ab7 100644
--- a/pmd_projectdocs_committers_releasing.html
+++ b/pmd_projectdocs_committers_releasing.html
@@ -1512,7 +1512,7 @@ and
mvn versions:set -DnewVersion=5.7.0-SNAPSHOT
diff --git a/pmd_projectdocs_credits.html b/pmd_projectdocs_credits.html
index e0f06d311b..de9f750442 100644
--- a/pmd_projectdocs_credits.html
+++ b/pmd_projectdocs_credits.html
@@ -1817,7 +1817,7 @@ PMD scoreboard formulas, pmd-dcpd optimizations
diff --git a/pmd_projectdocs_faq.html b/pmd_projectdocs_faq.html
index 1299af6615..3638037ed0 100644
--- a/pmd_projectdocs_faq.html
+++ b/pmd_projectdocs_faq.html
@@ -1350,7 +1350,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 5eb5fe55df..37b2279fe3 100644
--- a/pmd_projectdocs_trivia_meaning.html
+++ b/pmd_projectdocs_trivia_meaning.html
@@ -1319,7 +1319,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 efb1ef5463..3a7549f684 100644
--- a/pmd_projectdocs_trivia_news.html
+++ b/pmd_projectdocs_trivia_news.html
@@ -1431,7 +1431,7 @@ interview with Ole-Martin and Tom
diff --git a/pmd_projectdocs_trivia_products.html b/pmd_projectdocs_trivia_products.html
index f1cfd4c973..b74d2504cf 100644
--- a/pmd_projectdocs_trivia_products.html
+++ b/pmd_projectdocs_trivia_products.html
@@ -1366,7 +1366,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 1788a1e23b..bd1d22cd12 100644
--- a/pmd_projectdocs_trivia_similarprojects.html
+++ b/pmd_projectdocs_trivia_similarprojects.html
@@ -1374,7 +1374,7 @@ only for maven project.
diff --git a/pmd_release_notes.html b/pmd_release_notes.html
index 6e6b725a90..96f9b31756 100644
--- a/pmd_release_notes.html
+++ b/pmd_release_notes.html
@@ -1292,6 +1292,14 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
New and noteworthy
+Full support for Scala
+
+Thanks to Chris Smith PMD now fully supports Scala. Now rules for analyzing Scala
+code can be developed in addition to the Copy-Pase-Detection (CPD) functionality. There are no rules yet, so
+contributions are welcome.
+
+Additionally Scala support has been upgraded from 2.12.4 to 2.13.
+
New rule designer documentation
The documentation for the rule designer is now available on the main PMD documentation page:
@@ -1382,7 +1390,8 @@ exists and returns just the filename without the full path.
deprecated. It was used to determine a “short name” of the file being analyzed, so that the report
can use short names. However, this logic has been moved to the renderers.
The method Report#metrics
and Report
have
-been deprecated. They were leftovers from a previous deprecation round targeting StatisticalRule
.
+been deprecated. They were leftovers from a previous deprecation round targeting
+StatisticalRule
.
Internal APIs
@@ -1394,6 +1403,7 @@ been deprecated. They were leftovers from a previous deprecation round targeting
External Contributions
+ - #1965: [scala] Use Scalameta for parsing - Chris Smith
- #1970: [java] DoubleBraceInitialization: Fix example - Tobias Weimer
- #1971: [java] 1862 - Message Digest should not be used as class field - AnthonyKot
- #1994: [core] Resolve pmd-report failure when java folder in filepath - Amish Shah
@@ -1415,7 +1425,7 @@ been deprecated. They were leftovers from a previous deprecation round targeting
diff --git a/pmd_release_notes_old.html b/pmd_release_notes_old.html
index 5cd2fbcc5e..66446a5b24 100644
--- a/pmd_release_notes_old.html
+++ b/pmd_release_notes_old.html
@@ -10431,7 +10431,7 @@ Added new HTML report format
diff --git a/pmd_rules_apex.html b/pmd_rules_apex.html
index 760906456a..a424afddcb 100644
--- a/pmd_rules_apex.html
+++ b/pmd_rules_apex.html
@@ -1509,7 +1509,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 a1beecc96c..113e0b99e9 100644
--- a/pmd_rules_apex_bestpractices.html
+++ b/pmd_rules_apex_bestpractices.html
@@ -1679,7 +1679,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 dde88ec8b8..b3f5a50dbb 100644
--- a/pmd_rules_apex_codestyle.html
+++ b/pmd_rules_apex_codestyle.html
@@ -2329,7 +2329,7 @@ controlled from the rest.
diff --git a/pmd_rules_apex_design.html b/pmd_rules_apex_design.html
index 401400b0e5..3baa3e4a35 100644
--- a/pmd_rules_apex_design.html
+++ b/pmd_rules_apex_design.html
@@ -2226,7 +2226,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 56f973f1af..dabe0b9794 100644
--- a/pmd_rules_apex_documentation.html
+++ b/pmd_rules_apex_documentation.html
@@ -1376,7 +1376,7 @@ order as the method signature.
diff --git a/pmd_rules_apex_errorprone.html b/pmd_rules_apex_errorprone.html
index ff77f6cd9b..5b3cf24c5c 100644
--- a/pmd_rules_apex_errorprone.html
+++ b/pmd_rules_apex_errorprone.html
@@ -1861,7 +1861,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 19caa7cab5..fc37fde14c 100644
--- a/pmd_rules_apex_performance.html
+++ b/pmd_rules_apex_performance.html
@@ -1479,7 +1479,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 e0f0bf5489..490942b6d5 100644
--- a/pmd_rules_apex_security.html
+++ b/pmd_rules_apex_security.html
@@ -1965,7 +1965,7 @@ to avoid XSS attacks.
diff --git a/pmd_rules_ecmascript.html b/pmd_rules_ecmascript.html
index 8db43810fd..150104448c 100644
--- a/pmd_rules_ecmascript.html
+++ b/pmd_rules_ecmascript.html
@@ -1392,7 +1392,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 6999f37781..7199af0088 100644
--- a/pmd_rules_ecmascript_bestpractices.html
+++ b/pmd_rules_ecmascript_bestpractices.html
@@ -1514,7 +1514,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 77bc2e0586..03db2d4bcb 100644
--- a/pmd_rules_ecmascript_codestyle.html
+++ b/pmd_rules_ecmascript_codestyle.html
@@ -1656,7 +1656,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 d3c5b56bc6..c5cc209567 100644
--- a/pmd_rules_ecmascript_errorprone.html
+++ b/pmd_rules_ecmascript_errorprone.html
@@ -1438,7 +1438,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 ccb0e25d4c..2f4c4d06d0 100644
--- a/pmd_rules_java.html
+++ b/pmd_rules_java.html
@@ -1948,7 +1948,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 ee76f6544c..6b51b5179b 100644
--- a/pmd_rules_java_bestpractices.html
+++ b/pmd_rules_java_bestpractices.html
@@ -3336,7 +3336,7 @@ a block
{}
is sufficient.
diff --git a/pmd_rules_java_codestyle.html b/pmd_rules_java_codestyle.html
index 8f22902e13..684e34f570 100644
--- a/pmd_rules_java_codestyle.html
+++ b/pmd_rules_java_codestyle.html
@@ -4435,7 +4435,7 @@ by the rule
diff --git a/pmd_rules_java_documentation.html b/pmd_rules_java_documentation.html
index f73b85690a..0ba6127e93 100644
--- a/pmd_rules_java_documentation.html
+++ b/pmd_rules_java_documentation.html
@@ -1618,7 +1618,7 @@ empty methods.
diff --git a/pmd_rules_java_errorprone.html b/pmd_rules_java_errorprone.html
index f1fbd03edf..6d1a243814 100644
--- a/pmd_rules_java_errorprone.html
+++ b/pmd_rules_java_errorprone.html
@@ -5047,7 +5047,7 @@ Thread.currentThread().getContextClassLoader() instead.
diff --git a/pmd_rules_java_multithreading.html b/pmd_rules_java_multithreading.html
index 1673f830dc..a019209b02 100644
--- a/pmd_rules_java_multithreading.html
+++ b/pmd_rules_java_multithreading.html
@@ -1770,7 +1770,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 e0d3bec63e..3f18a5df64 100644
--- a/pmd_rules_java_performance.html
+++ b/pmd_rules_java_performance.html
@@ -2318,7 +2318,7 @@ or StringBuffer.toString().length() == …
diff --git a/pmd_rules_java_security.html b/pmd_rules_java_security.html
index d92ff6ebc9..63f30e03dc 100644
--- a/pmd_rules_java_security.html
+++ b/pmd_rules_java_security.html
@@ -1363,7 +1363,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 aba041676a..92f1a59e04 100644
--- a/pmd_rules_jsp.html
+++ b/pmd_rules_jsp.html
@@ -1374,7 +1374,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 6657e27113..60c64a7624 100644
--- a/pmd_rules_jsp_bestpractices.html
+++ b/pmd_rules_jsp_bestpractices.html
@@ -1405,7 +1405,7 @@ little other purpose. Consider switching to JSP comments.
diff --git a/pmd_rules_jsp_codestyle.html b/pmd_rules_jsp_codestyle.html
index 7b1043af89..f800fd9ecd 100644
--- a/pmd_rules_jsp_codestyle.html
+++ b/pmd_rules_jsp_codestyle.html
@@ -1322,7 +1322,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 3807daf75e..8cfbeb71f3 100644
--- a/pmd_rules_jsp_design.html
+++ b/pmd_rules_jsp_design.html
@@ -1413,7 +1413,7 @@ response.setHeader("Pragma", "No-cache");
diff --git a/pmd_rules_jsp_errorprone.html b/pmd_rules_jsp_errorprone.html
index c13054a23a..1d5905b26a 100644
--- a/pmd_rules_jsp_errorprone.html
+++ b/pmd_rules_jsp_errorprone.html
@@ -1334,7 +1334,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 d3dccc0a40..19896a1c75 100644
--- a/pmd_rules_jsp_security.html
+++ b/pmd_rules_jsp_security.html
@@ -1355,7 +1355,7 @@ ${fn:escapeXml(expression)} <!-- instead, escape it -->
diff --git a/pmd_rules_plsql.html b/pmd_rules_plsql.html
index 0777c67abe..2d578695ae 100644
--- a/pmd_rules_plsql.html
+++ b/pmd_rules_plsql.html
@@ -1403,7 +1403,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 a7a0e6e67b..f6836fe83b 100644
--- a/pmd_rules_plsql_bestpractices.html
+++ b/pmd_rules_plsql_bestpractices.html
@@ -1363,7 +1363,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 0c507dbd7d..5a0cb84bfa 100644
--- a/pmd_rules_plsql_codestyle.html
+++ b/pmd_rules_plsql_codestyle.html
@@ -1647,7 +1647,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 8bcebf1aa9..4474790630 100644
--- a/pmd_rules_plsql_design.html
+++ b/pmd_rules_plsql_design.html
@@ -2287,7 +2287,7 @@ have more fine grained objects.
diff --git a/pmd_rules_plsql_errorprone.html b/pmd_rules_plsql_errorprone.html
index d598446ab5..9fdcb075e9 100644
--- a/pmd_rules_plsql_errorprone.html
+++ b/pmd_rules_plsql_errorprone.html
@@ -1432,7 +1432,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 e5bd9100fb..db27208f82 100644
--- a/pmd_rules_pom.html
+++ b/pmd_rules_pom.html
@@ -1336,7 +1336,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 5e29a47670..b2d158a299 100644
--- a/pmd_rules_pom_errorprone.html
+++ b/pmd_rules_pom_errorprone.html
@@ -1403,7 +1403,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
new file mode 100644
index 0000000000..df03a6734f
--- /dev/null
+++ b/pmd_rules_scala.html
@@ -0,0 +1,1334 @@
+
+
+
+
+
+
+
+
+
Scala Rules | PMD Source Code Analyzer
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Scala Rules
+
+
+
+
+
+
+
+ Index of all built-in rules available for Scala
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Edit me
+
+
+
+ Currently there are no built-in rules yet for Scala.
+
+Contributions are welcome!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pmd_rules_vf.html b/pmd_rules_vf.html
index ce8471b59f..404c18ab7b 100644
--- a/pmd_rules_vf.html
+++ b/pmd_rules_vf.html
@@ -1336,7 +1336,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 69727a53f5..957261c22a 100644
--- a/pmd_rules_vf_security.html
+++ b/pmd_rules_vf_security.html
@@ -1341,7 +1341,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 b0e4e9bf4e..ef26ad9cb1 100644
--- a/pmd_rules_vm.html
+++ b/pmd_rules_vm.html
@@ -1357,7 +1357,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 348cbf621d..ce9745562a 100644
--- a/pmd_rules_vm_bestpractices.html
+++ b/pmd_rules_vm_bestpractices.html
@@ -1331,7 +1331,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 478668f9a3..46f1cb6695 100644
--- a/pmd_rules_vm_design.html
+++ b/pmd_rules_vm_design.html
@@ -1445,7 +1445,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 416aebc63e..3c52363055 100644
--- a/pmd_rules_vm_errorprone.html
+++ b/pmd_rules_vm_errorprone.html
@@ -1331,7 +1331,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 c91eb3d052..1ce817e6b2 100644
--- a/pmd_rules_xml.html
+++ b/pmd_rules_xml.html
@@ -1335,7 +1335,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 b30db96149..ea2e63a4d5 100644
--- a/pmd_rules_xml_errorprone.html
+++ b/pmd_rules_xml_errorprone.html
@@ -1335,7 +1335,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 ba9c89742c..b13da2f349 100644
--- a/pmd_rules_xsl.html
+++ b/pmd_rules_xsl.html
@@ -1343,7 +1343,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 4b96eeb028..a1daaa1479 100644
--- a/pmd_rules_xsl_codestyle.html
+++ b/pmd_rules_xsl_codestyle.html
@@ -1326,7 +1326,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 72ca644a1d..c4d35cb192 100644
--- a/pmd_rules_xsl_performance.html
+++ b/pmd_rules_xsl_performance.html
@@ -1369,7 +1369,7 @@ cutting through 100% of the document.
diff --git a/pmd_userdocs_best_practices.html b/pmd_userdocs_best_practices.html
index d30f0cb1e4..c9f7dd4bc8 100644
--- a/pmd_userdocs_best_practices.html
+++ b/pmd_userdocs_best_practices.html
@@ -1338,7 +1338,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 362211a318..496055073e 100644
--- a/pmd_userdocs_cli_reference.html
+++ b/pmd_userdocs_cli_reference.html
@@ -1897,6 +1897,7 @@ This behavior has been introduced to ease PMD integration into scripts or hooks,
- ecmascript (JavaScript)
- jsp
- plsql
+ - scala
- vf (Salesforce VisualForce)
- vm (Apache Velocity)
- xml and xsl
@@ -2034,7 +2035,7 @@ which can be specified with the -property
diff --git a/pmd_userdocs_configuring_rules.html b/pmd_userdocs_configuring_rules.html
index 5fe5c68c7f..e5c9a56275 100644
--- a/pmd_userdocs_configuring_rules.html
+++ b/pmd_userdocs_configuring_rules.html
@@ -1364,7 +1364,7 @@ will cause the rule to be ignored.
diff --git a/pmd_userdocs_cpd.html b/pmd_userdocs_cpd.html
index e3d7bd832d..f10e6345a1 100644
--- a/pmd_userdocs_cpd.html
+++ b/pmd_userdocs_cpd.html
@@ -2317,7 +2317,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 a9d865c0b2..3b124a7d21 100644
--- a/pmd_userdocs_extending_defining_properties.html
+++ b/pmd_userdocs_extending_defining_properties.html
@@ -1567,7 +1567,7 @@ There are several things to notice here:
diff --git a/pmd_userdocs_extending_designer_reference.html b/pmd_userdocs_extending_designer_reference.html
index 096226a36c..609f27b740 100644
--- a/pmd_userdocs_extending_designer_reference.html
+++ b/pmd_userdocs_extending_designer_reference.html
@@ -1553,7 +1553,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 578f2e5519..07de143ab2 100644
--- a/pmd_userdocs_extending_metrics_howto.html
+++ b/pmd_userdocs_extending_metrics_howto.html
@@ -1639,7 +1639,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 e1101338b3..193c0a4ad0 100644
--- a/pmd_userdocs_extending_rule_guidelines.html
+++ b/pmd_userdocs_extending_rule_guidelines.html
@@ -1381,7 +1381,7 @@ the category and add the XML test data in the correct xml subpackage.
diff --git a/pmd_userdocs_extending_testing.html b/pmd_userdocs_extending_testing.html
index f82f142cb4..01409dab04 100644
--- a/pmd_userdocs_extending_testing.html
+++ b/pmd_userdocs_extending_testing.html
@@ -1610,7 +1610,7 @@ will be executed twice.
diff --git a/pmd_userdocs_extending_writing_pmd_rules.html b/pmd_userdocs_extending_writing_pmd_rules.html
index 7855c24675..fde3662236 100644
--- a/pmd_userdocs_extending_writing_pmd_rules.html
+++ b/pmd_userdocs_extending_writing_pmd_rules.html
@@ -1629,7 +1629,7 @@ of the component type. These can be repeated for arrays of arrays
diff --git a/pmd_userdocs_extending_writing_xpath_rules.html b/pmd_userdocs_extending_writing_xpath_rules.html
index b7ec7ed5d7..2e1dffee21 100644
--- a/pmd_userdocs_extending_writing_xpath_rules.html
+++ b/pmd_userdocs_extending_writing_xpath_rules.html
@@ -1497,7 +1497,7 @@ public class ExampleCode {
diff --git a/pmd_userdocs_incremental_analysis.html b/pmd_userdocs_incremental_analysis.html
index 4e2c6d6ae3..24dc01f147 100644
--- a/pmd_userdocs_incremental_analysis.html
+++ b/pmd_userdocs_incremental_analysis.html
@@ -1333,7 +1333,7 @@ few runs, you can use the
diff --git a/pmd_userdocs_making_rulesets.html b/pmd_userdocs_making_rulesets.html
index 7c8cdc5c85..29c007966c 100644
--- a/pmd_userdocs_making_rulesets.html
+++ b/pmd_userdocs_making_rulesets.html
@@ -1411,7 +1411,7 @@ category, then PMD would fail before starting the analysis.
diff --git a/pmd_userdocs_suppressing_warnings.html b/pmd_userdocs_suppressing_warnings.html
index 4fbe20872a..62d56ed88a 100644
--- a/pmd_userdocs_suppressing_warnings.html
+++ b/pmd_userdocs_suppressing_warnings.html
@@ -1522,7 +1522,7 @@ violations you wish to suppress. XPath queries are explained in
diff --git a/pmd_userdocs_tools.html b/pmd_userdocs_tools.html
index 2aa89a5f11..ce0b7dc39d 100644
--- a/pmd_userdocs_tools.html
+++ b/pmd_userdocs_tools.html
@@ -1762,7 +1762,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 14dd7edfb1..26ab98b8e2 100644
--- a/pmd_userdocs_tools_ant.html
+++ b/pmd_userdocs_tools_ant.html
@@ -1722,7 +1722,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 e6bfa7f19e..ab886bda8d 100644
--- a/pmd_userdocs_tools_ci.html
+++ b/pmd_userdocs_tools_ci.html
@@ -1328,7 +1328,7 @@ result of the PMD maven plugin.
diff --git a/pmd_userdocs_tools_maven.html b/pmd_userdocs_tools_maven.html
index e9e6899a71..919d8cfd2b 100644
--- a/pmd_userdocs_tools_maven.html
+++ b/pmd_userdocs_tools_maven.html
@@ -1549,7 +1549,7 @@ the previous paragraph. Add the following property to your project now:
diff --git a/search.json b/search.json
index 1d83e43f72..682d575e4e 100644
--- a/search.json
+++ b/search.json
@@ -5026,6 +5026,22 @@
+{
+"title": "Scala Rules",
+"tags": "rule_referencesscala",
+"keywords": "",
+"url": "pmd_rules_scala.html",
+"summary": "Index of all built-in rules available for Scala"
+}
+
+
+
+,
+
+
+
+
+
diff --git a/sitemap.xml b/sitemap.xml
index c493d3aa1f..1590cb4a47 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -479,6 +479,12 @@
+
+ https://pmd.github.io/pmd/pmd_rules_scala.html
+
+
+
+
diff --git a/tag_devdocs.html b/tag_devdocs.html
index ee3b5794f8..daae112499 100644
--- a/tag_devdocs.html
+++ b/tag_devdocs.html
@@ -1610,6 +1610,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
+
+
+
+
+
+
@@ -1736,7 +1742,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/tag_extending.html b/tag_extending.html
index ef3ca532b2..826d9a61e8 100644
--- a/tag_extending.html
+++ b/tag_extending.html
@@ -1616,6 +1616,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
+
+
+
+
+
+
@@ -1754,7 +1760,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 b6694fde2a..d0531da72a 100644
--- a/tag_getting_started.html
+++ b/tag_getting_started.html
@@ -1580,6 +1580,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
+
+
+
+
+
+
@@ -1700,7 +1706,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/tag_languages.html b/tag_languages.html
index 32134e479c..e373b207fa 100644
--- a/tag_languages.html
+++ b/tag_languages.html
@@ -1562,6 +1562,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
+
+
+
+
+
+
@@ -1682,7 +1688,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/tag_metrics.html b/tag_metrics.html
index 01a4345bd4..7299b950c2 100644
--- a/tag_metrics.html
+++ b/tag_metrics.html
@@ -1586,6 +1586,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
+
+
+
+
+
+
@@ -1706,7 +1712,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 35c18b4628..db94e4d69e 100644
--- a/tag_release_notes.html
+++ b/tag_release_notes.html
@@ -1562,6 +1562,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
+
+
+
+
+
+
@@ -1682,7 +1688,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 a5f99706c9..cefdb17485 100644
--- a/tag_rule_references.html
+++ b/tag_rule_references.html
@@ -1598,6 +1598,18 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
+
+
+
Scala Rules
+ Page
+ Index of all built-in rules available for Scala
+
+
+
+
+
+
+
@@ -1742,7 +1754,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/tag_tools.html b/tag_tools.html
index db39249787..de0fbccba0 100644
--- a/tag_tools.html
+++ b/tag_tools.html
@@ -1580,6 +1580,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
+
+
+
+
+
+
@@ -1706,7 +1712,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/tag_troubleshooting.html b/tag_troubleshooting.html
index 6b478c4f5a..0842f1b7fd 100644
--- a/tag_troubleshooting.html
+++ b/tag_troubleshooting.html
@@ -1562,6 +1562,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
+
+
+
+
+
+
@@ -1682,7 +1688,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/tag_userdocs.html b/tag_userdocs.html
index 2b6f8b2372..77d70f4e2e 100644
--- a/tag_userdocs.html
+++ b/tag_userdocs.html
@@ -1646,6 +1646,12 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
+
+
+
+
+
+
@@ -1796,7 +1802,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/titlepage/index.html b/titlepage/index.html
index 7d2aa87453..b96be72307 100644
--- a/titlepage/index.html
+++ b/titlepage/index.html
@@ -1287,7 +1287,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
- Last generated: September 06, 2019
+ Last generated: September 07, 2019
@@ -1317,7 +1317,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/tocpage/index.html b/tocpage/index.html
index e7c7e34b18..11ec1b67e4 100644
--- a/tocpage/index.html
+++ b/tocpage/index.html
@@ -1317,7 +1317,7 @@ $('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3
diff --git a/pmd_userdocs_installation.html b/pmd_userdocs_installation.html
index 9421c70cef..255f7f1c94 100644
--- a/pmd_userdocs_installation.html
+++ b/pmd_userdocs_installation.html
@@ -1471,7 +1471,7 @@ directory or a jar or zip file containing the sources.
diff --git a/pmd_rules_java_design.html b/pmd_rules_java_design.html
index de306a0d60..e7b4e2b481 100644
--- a/pmd_rules_java_design.html
+++ b/pmd_rules_java_design.html
@@ -3843,7 +3843,7 @@ remember to add a private constructor to prevent instantiation.
diff --git a/pmd_devdocs_pmdtester.html b/pmd_devdocs_pmdtester.html
index 605dc27a13..b6ae35ca5d 100644
--- a/pmd_devdocs_pmdtester.html
+++ b/pmd_devdocs_pmdtester.html
@@ -1325,7 +1325,7 @@ Regression difference reports are commented back to the PR for the reviewer’s