[pmd-commits] [pmd/pmd] a1a358: [java] MissingOverride: False negative for enum me...

2021-10-29 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/pmd/7.0.x
  Home:   https://github.com/pmd/pmd
  Commit: a1a358619ce505fc3e222f3c348b72400b3035fd
  https://github.com/pmd/pmd/commit/a1a358619ce505fc3e222f3c348b72400b3035fd
  Author: Andreas Dangel 
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTEnumConstant.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/MissingOverrideRule.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/typeresolution/ClassTypeResolver.java
A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/missingoverride/EnumToString.java
M 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/missingoverride/EnumWithAnonClass.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/MissingOverride.xml

  Log Message:
  ---
  [java] MissingOverride: False negative for enum method #3542

Improves type resolution to support enum constants


  Commit: 701938de1cf19fc02b34b1100fb654c0bb4a19cd
  https://github.com/pmd/pmd/commit/701938de1cf19fc02b34b1100fb654c0bb4a19cd
  Author: Andreas Dangel 
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/security/HardCodedCryptoKeyRule.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/security/xml/HardCodedCryptoKey.xml

  Log Message:
  ---
  [java] HardcodedCryptoKey false negative with variable assignments #3368


  Commit: 202079eeca9e9f877d0e5fc89bc51df93509602a
  https://github.com/pmd/pmd/commit/202079eeca9e9f877d0e5fc89bc51df93509602a
  Author: Andreas Dangel 
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/security/HardCodedCryptoKeyRule.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/security/xml/HardCodedCryptoKey.xml

  Log Message:
  ---
  Fix stack overflow error


  Commit: 35f3f3f51750ab9aacd0a38e349a778104a2e769
  https://github.com/pmd/pmd/commit/35f3f3f51750ab9aacd0a38e349a778104a2e769
  Author: Andreas Dangel 
  Date:   2021-10-14 (Thu, 14 Oct 2021)

  Changed paths:
M docs/_data/sidebars/pmd_sidebar.yml
A docs/pages/pmd/languages/visualforce.md

  Log Message:
  ---
  [doc] Visualforce type resolution


  Commit: 3093013ff76d1a491af081e67a8c3940810bc171
  https://github.com/pmd/pmd/commit/3093013ff76d1a491af081e67a8c3940810bc171
  Author: Andreas Dangel 
  Date:   2021-10-25 (Mon, 25 Oct 2021)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/ClassNamingConventionsRule.java
M pmd-java/src/main/resources/category/java/codestyle.xml
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/ClassNamingConventions.xml

  Log Message:
  ---
  [java] ClassNamingConventions: Disable utilityClassPattern by default

- Fixes #1595
- Fixes #3563


  Commit: 15270c8bd975d4747e8f168e368a70f13b2c8139
  https://github.com/pmd/pmd/commit/15270c8bd975d4747e8f168e368a70f13b2c8139
  Author: Andreas Dangel 
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTEnumConstant.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/MissingOverrideRule.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/typeresolution/ClassTypeResolver.java
A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/missingoverride/EnumToString.java
M 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/missingoverride/EnumWithAnonClass.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/MissingOverride.xml

  Log Message:
  ---
  Merge pull request #3543 from adangel:issue-3542-missing-override-enum

[java] MissingOverride: False negative for enum method #3542


  Commit: ec164b4bf07f7182fce23405185c57f6a497cc87
  https://github.com/pmd/pmd/commit/ec164b4bf07f7182fce23405185c57f6a497cc87
  Author: Andreas Dangel 
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/security/HardCodedCryptoKeyRule.java

  Log Message:
  ---
  Simplify getUsages call

Co-authored-by: Clément Fournier 


  Commit: 9a07b8161202e0b100cf51a0355ed4c092bf0b13
  https://github.com/pmd/pmd/commit/9a07b8161202e0b100cf51a0355ed4c092bf0b13
  Author: Andreas Dangel 
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/security/HardCodedCryptoKeyRule.java
M 

[pmd-commits] [pmd/pmd] 27302b: Update documentation

2021-10-29 Thread Machine account for PMD via Pmd-commits
  Branch: refs/heads/gh-pages
  Home:   https://github.com/pmd/pmd
  Commit: 27302bd152897042b4403acc43a73677df33ebf0
  https://github.com/pmd/pmd/commit/27302bd152897042b4403acc43a73677df33ebf0
  Author: PMD CI (pmd-bot) 
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  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_jsp.html
M pmd_languages_plsql.html
A pmd_languages_visualforce.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_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 search.json
M sitemap.xml
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/1399967827
https://github.com/pmd/pmd/compare/f5fd79d489cf...ac26d3dc6d7c




___
Pmd-commits mailing list

[pmd-commits] [pmd/pmd] a1a358: [java] MissingOverride: False negative for enum me...

2021-10-29 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: a1a358619ce505fc3e222f3c348b72400b3035fd
  https://github.com/pmd/pmd/commit/a1a358619ce505fc3e222f3c348b72400b3035fd
  Author: Andreas Dangel 
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTEnumConstant.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/MissingOverrideRule.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/typeresolution/ClassTypeResolver.java
A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/missingoverride/EnumToString.java
M 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/missingoverride/EnumWithAnonClass.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/MissingOverride.xml

  Log Message:
  ---
  [java] MissingOverride: False negative for enum method #3542

Improves type resolution to support enum constants


  Commit: 701938de1cf19fc02b34b1100fb654c0bb4a19cd
  https://github.com/pmd/pmd/commit/701938de1cf19fc02b34b1100fb654c0bb4a19cd
  Author: Andreas Dangel 
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/security/HardCodedCryptoKeyRule.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/security/xml/HardCodedCryptoKey.xml

  Log Message:
  ---
  [java] HardcodedCryptoKey false negative with variable assignments #3368


  Commit: 202079eeca9e9f877d0e5fc89bc51df93509602a
  https://github.com/pmd/pmd/commit/202079eeca9e9f877d0e5fc89bc51df93509602a
  Author: Andreas Dangel 
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/security/HardCodedCryptoKeyRule.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/security/xml/HardCodedCryptoKey.xml

  Log Message:
  ---
  Fix stack overflow error


  Commit: 35f3f3f51750ab9aacd0a38e349a778104a2e769
  https://github.com/pmd/pmd/commit/35f3f3f51750ab9aacd0a38e349a778104a2e769
  Author: Andreas Dangel 
  Date:   2021-10-14 (Thu, 14 Oct 2021)

  Changed paths:
M docs/_data/sidebars/pmd_sidebar.yml
A docs/pages/pmd/languages/visualforce.md

  Log Message:
  ---
  [doc] Visualforce type resolution


  Commit: 3093013ff76d1a491af081e67a8c3940810bc171
  https://github.com/pmd/pmd/commit/3093013ff76d1a491af081e67a8c3940810bc171
  Author: Andreas Dangel 
  Date:   2021-10-25 (Mon, 25 Oct 2021)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/ClassNamingConventionsRule.java
M pmd-java/src/main/resources/category/java/codestyle.xml
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/ClassNamingConventions.xml

  Log Message:
  ---
  [java] ClassNamingConventions: Disable utilityClassPattern by default

- Fixes #1595
- Fixes #3563


  Commit: 15270c8bd975d4747e8f168e368a70f13b2c8139
  https://github.com/pmd/pmd/commit/15270c8bd975d4747e8f168e368a70f13b2c8139
  Author: Andreas Dangel 
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTEnumConstant.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/MissingOverrideRule.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/typeresolution/ClassTypeResolver.java
A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/missingoverride/EnumToString.java
M 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/missingoverride/EnumWithAnonClass.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/MissingOverride.xml

  Log Message:
  ---
  Merge pull request #3543 from adangel:issue-3542-missing-override-enum

[java] MissingOverride: False negative for enum method #3542


  Commit: ec164b4bf07f7182fce23405185c57f6a497cc87
  https://github.com/pmd/pmd/commit/ec164b4bf07f7182fce23405185c57f6a497cc87
  Author: Andreas Dangel 
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/security/HardCodedCryptoKeyRule.java

  Log Message:
  ---
  Simplify getUsages call

Co-authored-by: Clément Fournier 


  Commit: 9a07b8161202e0b100cf51a0355ed4c092bf0b13
  https://github.com/pmd/pmd/commit/9a07b8161202e0b100cf51a0355ed4c092bf0b13
  Author: Andreas Dangel 
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
M docs/pages/release_notes.md
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/security/HardCodedCryptoKeyRule.java
M 

[pmd-commits] [pmd/pmd] 72f17b: [apex] Update jorje to version 54.0 (Spring '22)

2021-10-29 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/pmd/7.0.x
  Home:   https://github.com/pmd/pmd
  Commit: 72f17b51c6f3a65e079fb41d1b3f37ff17a10bf2
  https://github.com/pmd/pmd/commit/72f17b51c6f3a65e079fb41d1b3f37ff17a10bf2
  Author: Andreas Dangel 
  Date:   2021-10-14 (Thu, 14 Oct 2021)

  Changed paths:
M docs/pages/release_notes.md
M pmd-apex-jorje/pom.xml
R 
pmd-apex-jorje/repo/apex/apex-jorje-lsp-minimized/2020-09-10-5a5192/apex-jorje-lsp-minimized-2020-09-10-5a5192.jar
R 
pmd-apex-jorje/repo/apex/apex-jorje-lsp-minimized/2020-09-10-5a5192/apex-jorje-lsp-minimized-2020-09-10-5a5192.pom
A 
pmd-apex-jorje/repo/apex/apex-jorje-lsp-minimized/2021-10-08-631b8c/apex-jorje-lsp-minimized-2021-10-08-631b8c.jar
A 
pmd-apex-jorje/repo/apex/apex-jorje-lsp-minimized/2021-10-08-631b8c/apex-jorje-lsp-minimized-2021-10-08-631b8c.pom
M pmd-apex-jorje/repo/apex/apex-jorje-lsp-minimized/maven-metadata-local.xml

  Log Message:
  ---
  [apex] Update jorje to version 54.0 (Spring '22)


  Commit: ad951bcb851b14d71689426125218947a12534cc
  https://github.com/pmd/pmd/commit/ad951bcb851b14d71689426125218947a12534cc
  Author: Andreas Dangel 
  Date:   2021-10-14 (Thu, 14 Oct 2021)

  Changed paths:
M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/EmptySymbolProvider.java
M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/TestAccessEvaluator.java
M 
pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/ast/SafeNavigationOperator.txt

  Log Message:
  ---
  [apex] Fix errors due to jorje update


  Commit: d5711f518c09abd10fa22d859a1843925ddb2633
  https://github.com/pmd/pmd/commit/d5711f518c09abd10fa22d859a1843925ddb2633
  Author: Scott Wells 
  Date:   2021-10-20 (Wed, 20 Oct 2021)

  Changed paths:
M pmd-apex/src/main/resources/category/apex/errorprone.xml
M 
pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/errorprone/xml/EmptyCatchBlock.xml

  Log Message:
  ---
  Issue 3569 - Added a new configuration property, 'reportInTestMethod', that 
if set to false (default is true if unspecified) doesn't report an issue for 
empty catch blocks in test methods that are commonly used to verify that an 
expected exception has been thrown.


  Commit: 04096bbf014e20667375d1db22ff5da049dc1e29
  https://github.com/pmd/pmd/commit/04096bbf014e20667375d1db22ff5da049dc1e29
  Author: Scott Wells 
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ASTCatchBlockStatement.java
A 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ASTCommentContainer.java
A 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/AbstractApexCommentContainerNode.java
M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.java
M pmd-apex/src/main/resources/category/apex/errorprone.xml
M 
pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/errorprone/xml/EmptyCatchBlock.xml

  Log Message:
  ---
  Issue 3569 - Based on great feedback from Clément Fournier, decided to go a 
different route and add the exact same configuration properties that the 
analogous Java rule offers, specifically 'allowCommentedBlocks' and 
'allowExceptionNameRegex', both with the exact same defaults as the Java rule, 
i.e., 'false' and '(expected|ignored)' respectively.

Adding 'allowExceptionNameRegex' was quite straightforward. However, 
'allowCommentedBlocks' was a bit more challenging because there was no notion 
of whether a block contained comments. I had to augment the lexer/parser/tree 
builder logic to capture all comment tokens and then use them to denote whether 
a catch block contained comments of any sort. The way I did this with a new 
intermediate abstract base node class for comment containers, we could denote 
the same for the other Apex block node types. In the spirit of keeping these 
changes narrow in scope, though, I only changed the inheritance hierarchy for 
ASTCatchBlockStatement. If/when we need to be able to ask the same question 
about other block types, it should be trivial to update them to support it.

Test cases have been updated accordingly.


  Commit: 914614f6a2f35d821fdee8d13dfd7ed2469bf646
  https://github.com/pmd/pmd/commit/914614f6a2f35d821fdee8d13dfd7ed2469bf646
  Author: Scott Wells 
  Date:   2021-10-22 (Fri, 22 Oct 2021)

  Changed paths:
M .all-contributorsrc
M docs/pages/pmd/projectdocs/credits.md
M docs/pages/release_notes.md
M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/bestpractices/ApexUnitTestClassShouldHaveAssertsRule.java
M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/documentation/ApexDocRule.java
M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexCRUDViolationRule.java
M pmd-apex/src/main/resources/category/apex/bestpractices.xml
M pmd-apex/src/main/resources/category/apex/documentation.xml
M 

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

2021-10-29 Thread Machine account for PMD via Pmd-commits
  Branch: refs/heads/gh-pages
  Home:   https://github.com/pmd/pmd
  Commit: a4c7d702863c90f56641d099a0e7a4de9ea19ed5
  https://github.com/pmd/pmd/commit/a4c7d702863c90f56641d099a0e7a4de9ea19ed5
  Author: PMD CI (pmd-bot) 
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  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_jsp.html
M pmd_languages_plsql.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_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/1398102476
https://github.com/pmd/pmd/compare/a9221d411bf3...f5fd79d489cf




___
Pmd-commits mailing list
Pmd-commits@lists.sourceforge.net

[pmd-commits] [pmd/pmd] 7a9d0d: Cleanup after #3581

2021-10-29 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 7a9d0db3a7576a11d5121c69b0e2b2d146908b4c
  https://github.com/pmd/pmd/commit/7a9d0db3a7576a11d5121c69b0e2b2d146908b4c
  Author: Clément Fournier 
  Date:   2021-10-24 (Sun, 24 Oct 2021)

  Changed paths:
M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.java
M 
pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/errorprone/xml/EmptyCatchBlock.xml

  Log Message:
  ---
  Cleanup after #3581


  Commit: aa271e5bc346cbf70bbe67c0ca39fa0ec29d441f
  https://github.com/pmd/pmd/commit/aa271e5bc346cbf70bbe67c0ca39fa0ec29d441f
  Author: Scott Wells 
  Date:   2021-10-28 (Thu, 28 Oct 2021)

  Changed paths:
M 
pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/errorprone/xml/EmptyCatchBlock.xml

  Log Message:
  ---
  Added a new test case verifying the expected boundary condition behavior for 
allowing commented blocks.


  Commit: f3c17a0e029c98af5b36714a1ffe6452cd3d9e47
  https://github.com/pmd/pmd/commit/f3c17a0e029c98af5b36714a1ffe6452cd3d9e47
  Author: Andreas Dangel 
  Date:   2021-10-28 (Thu, 28 Oct 2021)

  Changed paths:
M 
pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/errorprone/xml/EmptyCatchBlock.xml

  Log Message:
  ---
  [apex] EmptyCatchBlock: Improve test case

also test for doc comments


  Commit: e05e0df39a4c2d2e6ccdb194519588707bab4a62
  https://github.com/pmd/pmd/commit/e05e0df39a4c2d2e6ccdb194519588707bab4a62
  Author: Andreas Dangel 
  Date:   2021-10-28 (Thu, 28 Oct 2021)

  Changed paths:
M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.java

  Log Message:
  ---
  [apex] comments: consider position index in the same line


  Commit: b70b981145b69ed861513b8ebb14b8e6982bf934
  https://github.com/pmd/pmd/commit/b70b981145b69ed861513b8ebb14b8e6982bf934
  Author: Andreas Dangel 
  Date:   2021-10-28 (Thu, 28 Oct 2021)

  Changed paths:
M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.java

  Log Message:
  ---
  [apex] comments: use index instead of line/column to map to node


  Commit: f5fd79d489cf11fc8ee2b21e7583e8dd94f7db9c
  https://github.com/pmd/pmd/commit/f5fd79d489cf11fc8ee2b21e7583e8dd94f7db9c
  Author: Andreas Dangel 
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/ast/ApexTreeBuilder.java
M 
pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/errorprone/xml/EmptyCatchBlock.xml

  Log Message:
  ---
  Merge pull request #3582 from oowekyala:cleanup-3581

[apex] Cleanup after #3581 #3582

* pr-3582:
  [apex] comments: use index instead of line/column to map to node
  [apex] comments: consider position index in the same line
  [apex] EmptyCatchBlock: Improve test case
  Added a new test case verifying the expected boundary condition behavior for 
allowing commented blocks.
  Cleanup after #3581


Compare: https://github.com/pmd/pmd/compare/a9221d411bf3...f5fd79d489cf


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