[pmd-commits] [pmd/pmd] b4916d: UnusedPrivateField: Ignore fields annotated with @...

2022-06-24 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/pmd/7.0.x
  Home:   https://github.com/pmd/pmd
  Commit: b4916d6a4b931b090749e41099c3274e2c838b88
  https://github.com/pmd/pmd/commit/b4916d6a4b931b090749e41099c3274e2c838b88
  Author: James Harrison 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedPrivateFieldRule.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UnusedPrivateField.xml

  Log Message:
  ---
  UnusedPrivateField: Ignore fields annotated with @Id, @EmbeddedId, @Version, 
@Mock, @Spy, or @MockBean


  Commit: 4b2c3fa1a426890e30648c5f53193b05483ef709
  https://github.com/pmd/pmd/commit/4b2c3fa1a426890e30648c5f53193b05483ef709
  Author: Andreas Dangel 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M pmd-apex/src/test/java/net/sourceforge/pmd/cpd/ApexCpdTest.java
M 
pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/ast/ApexParserTest.java
M pmd-java/src/test/java/net/sourceforge/pmd/ant/PMDTaskTest.java
M pmd-java/src/test/java/net/sourceforge/pmd/coverage/PMDCoverageTest.java
M pom.xml

  Log Message:
  ---
  Exclude commons-io (CVE-2021-29425)

Refactor last test usages to use PMD's IOUtil instead.


  Commit: a8a61f2c440504d266f23b4f4f11a233448e0d1d
  https://github.com/pmd/pmd/commit/a8a61f2c440504d266f23b4f4f11a233448e0d1d
  Author: Andreas Dangel 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M pom.xml

  Log Message:
  ---
  Upgrade io.github.classgraph:classgraph from 4.8.102 to 4.8.112

Fixes [sonatype-2021-1074] CWE-611: Improper Restriction of XML External Entity 
Reference ('XXE')


  Commit: 9537629e58f5e4349c6f6d1e6714a0f45f205ea8
  https://github.com/pmd/pmd/commit/9537629e58f5e4349c6f6d1e6714a0f45f205ea8
  Author: Andreas Dangel 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M pom.xml

  Log Message:
  ---
  Upgrade com.google.protobuf:protobuf-java from 3.7.1 to 3.16.1

Fixes CVE-2021-22569 A potential Denial of Service issue in protobuf-java
https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-wrvw-hg22-4m67


  Commit: cce5bec3918b3f0a89b51c521b9b4d492d422605
  https://github.com/pmd/pmd/commit/cce5bec3918b3f0a89b51c521b9b4d492d422605
  Author: James Harrison 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M .all-contributorsrc
M .ci/build.sh
M .ci/git-repo-sync.sh
M docs/pages/pmd/projectdocs/credits.md
M docs/pages/pmd/userdocs/tools/tools.md
M docs/pages/release_notes.md
M pmd-core/src/main/java/net/sourceforge/pmd/cli/PMDParameters.java
M 
pmd-core/src/test/java/net/sourceforge/pmd/cli/PMDCommandLineInterfaceTest.java
M pom.xml

  Log Message:
  ---
  Merge branch 'master' into master


  Commit: d787604c52f3a5fc06eb75ddc1ad60e1dfd7afa3
  https://github.com/pmd/pmd/commit/d787604c52f3a5fc06eb75ddc1ad60e1dfd7afa3
  Author: Andreas Dangel 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M .mvn/wrapper/maven-wrapper.properties

  Log Message:
  ---
  Bump maven from 3.8.5 to 3.8.6


  Commit: efd0c9ed13c5124b724a01219e8a32fb9bf8653e
  https://github.com/pmd/pmd/commit/efd0c9ed13c5124b724a01219e8a32fb9bf8653e
  Author: Clément Fournier 
  Date:   2022-06-17 (Fri, 17 Jun 2022)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/ImmutableFieldRule.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/ImmutableField.xml

  Log Message:
  ---
  Fix #4008


  Commit: 5d8b210e6ddd8d7653d359fc78cc4602aa3f6904
  https://github.com/pmd/pmd/commit/5d8b210e6ddd8d7653d359fc78cc4602aa3f6904
  Author: Clément Fournier 
  Date:   2022-06-17 (Fri, 17 Jun 2022)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/ImmutableFieldRule.java

  Log Message:
  ---
  Simplify


  Commit: 5c05c105b78a351234d86970695ca6c3185becf7
  https://github.com/pmd/pmd/commit/5c05c105b78a351234d86970695ca6c3185becf7
  Author: Clément Fournier 
  Date:   2022-06-18 (Sat, 18 Jun 2022)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/ImmutableFieldRule.java

  Log Message:
  ---
  Fix tests


  Commit: f16532f0e0ea4b05c2b1693b0e4a1fa090128981
  https://github.com/pmd/pmd/commit/f16532f0e0ea4b05c2b1693b0e4a1fa090128981
  Author: Andreas Dangel 
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/ImmutableField.xml

  Log Message:
  ---
  [java] ImmutableField - add test case for @Inject (#4011)


  Commit: b68b7b6a876bd7a463a6762cd54655eac8f13bde
  https://github.com/pmd/pmd/commit/b68b7b6a876bd7a463a6762cd54655eac8f13bde
  Author: Andreas Dangel 
  Date:   2022-06-23 (Thu, 23 Jun 

[pmd-commits] [pmd/pmd] cf16d9: Update documentation

2022-06-24 Thread Machine account for PMD via Pmd-commits
  Branch: refs/heads/gh-pages
  Home:   https://github.com/pmd/pmd
  Commit: cf16d96f98a0cf4b59317981fe68ec7b9166bedd
  https://github.com/pmd/pmd/commit/cf16d96f98a0cf4b59317981fe68ec7b9166bedd
  Author: PMD CI (pmd-bot) 
  Date:   2022-06-24 (Fri, 24 Jun 2022)

  Changed paths:
M 404.html
M feed.xml
M index.html
M js/mydoc_scroll.html
M license.html
M news.html
M news_archive.html
M pmd_about_help.html
M pmd_apex_metrics_index.html
M pmd_devdocs_building.html
M pmd_devdocs_development.html
M pmd_devdocs_experimental_ast_dump.html
M pmd_devdocs_how_pmd_works.html
M pmd_devdocs_major_adding_new_cpd_language.html
M pmd_devdocs_major_adding_new_language.html
M pmd_devdocs_major_adding_new_metrics_framework.html
M pmd_devdocs_major_rule_guidelines.html
M pmd_devdocs_pmdtester.html
M pmd_devdocs_roadmap.html
M pmd_devdocs_rule_deprecation_policy.html
M pmd_devdocs_writing_documentation.html
M pmd_java_metrics_index.html
M pmd_languages_html.html
M pmd_languages_java.html
M pmd_languages_jsp.html
M pmd_languages_plsql.html
M pmd_languages_visualforce.html
M pmd_languages_xml.html
M pmd_next_major_development.html
M pmd_projectdocs_committers_infrastructure.html
M pmd_projectdocs_committers_main_landing_page.html
M pmd_projectdocs_committers_merging_pull_requests.html
M pmd_projectdocs_committers_releasing.html
M pmd_projectdocs_credits.html
M pmd_projectdocs_faq.html
M pmd_projectdocs_trivia_meaning.html
M pmd_projectdocs_trivia_news.html
M pmd_projectdocs_trivia_products.html
M pmd_projectdocs_trivia_similarprojects.html
M pmd_release_notes.html
M pmd_release_notes_old.html
M pmd_rules_apex.html
M pmd_rules_apex_bestpractices.html
M pmd_rules_apex_codestyle.html
M pmd_rules_apex_design.html
M pmd_rules_apex_documentation.html
M pmd_rules_apex_errorprone.html
M pmd_rules_apex_performance.html
M pmd_rules_apex_security.html
M pmd_rules_ecmascript.html
M pmd_rules_ecmascript_bestpractices.html
M pmd_rules_ecmascript_codestyle.html
M pmd_rules_ecmascript_errorprone.html
M pmd_rules_html.html
M pmd_rules_html_bestpractices.html
M pmd_rules_java.html
M pmd_rules_java_bestpractices.html
M pmd_rules_java_codestyle.html
M pmd_rules_java_design.html
M pmd_rules_java_documentation.html
M pmd_rules_java_errorprone.html
M pmd_rules_java_multithreading.html
M pmd_rules_java_performance.html
M pmd_rules_java_security.html
M pmd_rules_jsp.html
M pmd_rules_jsp_bestpractices.html
M pmd_rules_jsp_codestyle.html
M pmd_rules_jsp_design.html
M pmd_rules_jsp_errorprone.html
M pmd_rules_jsp_security.html
M pmd_rules_modelica.html
M pmd_rules_modelica_bestpractices.html
M pmd_rules_plsql.html
M pmd_rules_plsql_bestpractices.html
M pmd_rules_plsql_codestyle.html
M pmd_rules_plsql_design.html
M pmd_rules_plsql_errorprone.html
M pmd_rules_pom.html
M pmd_rules_pom_errorprone.html
M pmd_rules_scala.html
M pmd_rules_vf.html
M pmd_rules_vf_security.html
M pmd_rules_vm.html
M pmd_rules_vm_bestpractices.html
M pmd_rules_vm_design.html
M pmd_rules_vm_errorprone.html
M pmd_rules_xml.html
M pmd_rules_xml_errorprone.html
M pmd_rules_xsl.html
M pmd_rules_xsl_codestyle.html
M pmd_rules_xsl_performance.html
M pmd_userdocs_best_practices.html
M pmd_userdocs_cli_reference.html
M pmd_userdocs_configuring_rules.html
M pmd_userdocs_cpd.html
M pmd_userdocs_cpd_report_formats.html
M pmd_userdocs_extending_defining_properties.html
M pmd_userdocs_extending_designer_reference.html
M pmd_userdocs_extending_metrics_howto.html
M pmd_userdocs_extending_rule_guidelines.html
M pmd_userdocs_extending_testing.html
M pmd_userdocs_extending_writing_java_rules.html
M pmd_userdocs_extending_writing_pmd_rules.html
M pmd_userdocs_extending_writing_rules_intro.html
M pmd_userdocs_extending_writing_xpath_rules.html
M pmd_userdocs_extending_your_first_rule.html
M pmd_userdocs_incremental_analysis.html
M pmd_userdocs_installation.html
M pmd_userdocs_making_rulesets.html
M pmd_userdocs_report_formats.html
M pmd_userdocs_suppressing_warnings.html
M pmd_userdocs_tools.html
M pmd_userdocs_tools_ant.html
M pmd_userdocs_tools_ci.html
M pmd_userdocs_tools_gradle.html
M pmd_userdocs_tools_java_api.html
M pmd_userdocs_tools_maven.html
M tag_devdocs.html
M tag_extending.html
M tag_getting_started.html
M tag_languages.html
M tag_metrics.html
M tag_release_notes.html
M tag_rule_references.html
M tag_tools.html
M tag_troubleshooting.html
M tag_userdocs.html

  Log Message:
  ---
  Update documentation

https://github.com/pmd/pmd/actions/runs/2556086383

[pmd-commits] [pmd/pmd] b4916d: UnusedPrivateField: Ignore fields annotated with @...

2022-06-24 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: b4916d6a4b931b090749e41099c3274e2c838b88
  https://github.com/pmd/pmd/commit/b4916d6a4b931b090749e41099c3274e2c838b88
  Author: James Harrison 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedPrivateFieldRule.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UnusedPrivateField.xml

  Log Message:
  ---
  UnusedPrivateField: Ignore fields annotated with @Id, @EmbeddedId, @Version, 
@Mock, @Spy, or @MockBean


  Commit: 4b2c3fa1a426890e30648c5f53193b05483ef709
  https://github.com/pmd/pmd/commit/4b2c3fa1a426890e30648c5f53193b05483ef709
  Author: Andreas Dangel 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M pmd-apex/src/test/java/net/sourceforge/pmd/cpd/ApexCpdTest.java
M 
pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/ast/ApexParserTest.java
M pmd-java/src/test/java/net/sourceforge/pmd/ant/PMDTaskTest.java
M pmd-java/src/test/java/net/sourceforge/pmd/coverage/PMDCoverageTest.java
M pom.xml

  Log Message:
  ---
  Exclude commons-io (CVE-2021-29425)

Refactor last test usages to use PMD's IOUtil instead.


  Commit: a8a61f2c440504d266f23b4f4f11a233448e0d1d
  https://github.com/pmd/pmd/commit/a8a61f2c440504d266f23b4f4f11a233448e0d1d
  Author: Andreas Dangel 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M pom.xml

  Log Message:
  ---
  Upgrade io.github.classgraph:classgraph from 4.8.102 to 4.8.112

Fixes [sonatype-2021-1074] CWE-611: Improper Restriction of XML External Entity 
Reference ('XXE')


  Commit: 9537629e58f5e4349c6f6d1e6714a0f45f205ea8
  https://github.com/pmd/pmd/commit/9537629e58f5e4349c6f6d1e6714a0f45f205ea8
  Author: Andreas Dangel 
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
M pom.xml

  Log Message:
  ---
  Upgrade com.google.protobuf:protobuf-java from 3.7.1 to 3.16.1

Fixes CVE-2021-22569 A potential Denial of Service issue in protobuf-java
https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-wrvw-hg22-4m67


  Commit: cce5bec3918b3f0a89b51c521b9b4d492d422605
  https://github.com/pmd/pmd/commit/cce5bec3918b3f0a89b51c521b9b4d492d422605
  Author: James Harrison 
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
M .all-contributorsrc
M .ci/build.sh
M .ci/git-repo-sync.sh
M docs/pages/pmd/projectdocs/credits.md
M docs/pages/pmd/userdocs/tools/tools.md
M docs/pages/release_notes.md
M pmd-core/src/main/java/net/sourceforge/pmd/cli/PMDParameters.java
M 
pmd-core/src/test/java/net/sourceforge/pmd/cli/PMDCommandLineInterfaceTest.java
M pom.xml

  Log Message:
  ---
  Merge branch 'master' into master


  Commit: bde5a0c191a4076e24c28541a2cea9a807a20a9c
  https://github.com/pmd/pmd/commit/bde5a0c191a4076e24c28541a2cea9a807a20a9c
  Author: Andreas Dangel 
  Date:   2022-06-24 (Fri, 24 Jun 2022)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedPrivateFieldRule.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UnusedPrivateField.xml

  Log Message:
  ---
  Merge pull request #4003 from jjlharrison:master

[java] UnusedPrivateField: Ignore fields annotated with @Id, @EmbeddedId, 
@Version, @Mock, @Spy, or @MockBean #4003


  Commit: 25eb9d885b9bc6760a022c507d7d5eafffc0d2f2
  https://github.com/pmd/pmd/commit/25eb9d885b9bc6760a022c507d7d5eafffc0d2f2
  Author: Andreas Dangel 
  Date:   2022-06-24 (Fri, 24 Jun 2022)

  Changed paths:
M pmd-apex/src/test/java/net/sourceforge/pmd/cpd/ApexCpdTest.java
M 
pmd-apex/src/test/java/net/sourceforge/pmd/lang/apex/ast/ApexParserTest.java
M pmd-java/src/test/java/net/sourceforge/pmd/ant/PMDTaskTest.java
M pmd-java/src/test/java/net/sourceforge/pmd/coverage/PMDCoverageTest.java
M pom.xml

  Log Message:
  ---
  Merge pull request #4005 from adangel:sonatype-lift-issues

[core] Fix current sonatype lift issues #4005


  Commit: ed6cd9ae39f3bc3a8bf68251aeed3128d01b5311
  https://github.com/pmd/pmd/commit/ed6cd9ae39f3bc3a8bf68251aeed3128d01b5311
  Author: Andreas Dangel 
  Date:   2022-06-24 (Fri, 24 Jun 2022)

  Changed paths:
M docs/pages/release_notes.md

  Log Message:
  ---
  [doc] Update release notes - escape `@` to not mention people on github


Compare: https://github.com/pmd/pmd/compare/18dd7f1abb74...ed6cd9ae39f3


___
Pmd-commits mailing list
Pmd-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-commits