[pmd-commits] [pmd/pmd] 0691eb: Update documentation

2022-02-18 Thread Machine account for PMD via Pmd-commits
  Branch: refs/heads/gh-pages
  Home:   https://github.com/pmd/pmd
  Commit: 0691eb687f5f64111c7e34cedc95780ede67a6c7
  https://github.com/pmd/pmd/commit/0691eb687f5f64111c7e34cedc95780ede67a6c7
  Author: PMD CI (pmd-bot) 
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
M feed.xml
M pmd_release_notes.html

  Log Message:
  ---
  Update documentation

https://github.com/pmd/pmd/actions/runs/1866196022
https://github.com/pmd/pmd/compare/7733be75ff80...e005a1d20e0a




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


[pmd-commits] [pmd/pmd] c85154: Fix #278 - make ConfusingTernary treat != null as ...

2022-02-18 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/pmd/7.0.x
  Home:   https://github.com/pmd/pmd
  Commit: c85154adfcc678a5fc8e3e166dc7330b8c93438a
  https://github.com/pmd/pmd/commit/c85154adfcc678a5fc8e3e166dc7330b8c93438a
  Author: Clément Fournier 
  Date:   2022-02-08 (Tue, 08 Feb 2022)

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

  Log Message:
  ---
  Fix #278 - make ConfusingTernary treat != null as a positive condition

update release notes


  Commit: e005a1d20e0a969a570ce66dd171751bb8b055cb
  https://github.com/pmd/pmd/commit/e005a1d20e0a969a570ce66dd171751bb8b055cb
  Author: Andreas Dangel 
  Date:   2022-02-18 (Fri, 18 Feb 2022)

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

  Log Message:
  ---
  Merge pull request #3765 from oowekyala:issue278-confusing-ternary

[java] Fix #278 - ConfusingTernary should treat != null as positive
condition #3765


  Commit: f079921971670ff8a634aedf1261fdfafd8f8ff3
  https://github.com/pmd/pmd/commit/f079921971670ff8a634aedf1261fdfafd8f8ff3
  Author: Andreas Dangel 
  Date:   2022-02-18 (Fri, 18 Feb 2022)

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

  Log Message:
  ---
  Merge master into pmd/7.0.x


Compare: https://github.com/pmd/pmd/compare/b9542e521942...f07992197167


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


[pmd-commits] [pmd/pmd] c85154: Fix #278 - make ConfusingTernary treat != null as ...

2022-02-18 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: c85154adfcc678a5fc8e3e166dc7330b8c93438a
  https://github.com/pmd/pmd/commit/c85154adfcc678a5fc8e3e166dc7330b8c93438a
  Author: Clément Fournier 
  Date:   2022-02-08 (Tue, 08 Feb 2022)

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

  Log Message:
  ---
  Fix #278 - make ConfusingTernary treat != null as a positive condition

update release notes


  Commit: e005a1d20e0a969a570ce66dd171751bb8b055cb
  https://github.com/pmd/pmd/commit/e005a1d20e0a969a570ce66dd171751bb8b055cb
  Author: Andreas Dangel 
  Date:   2022-02-18 (Fri, 18 Feb 2022)

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

  Log Message:
  ---
  Merge pull request #3765 from oowekyala:issue278-confusing-ternary

[java] Fix #278 - ConfusingTernary should treat != null as positive
condition #3765


Compare: https://github.com/pmd/pmd/compare/7733be75ff80...e005a1d20e0a


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


[pmd-commits] [pmd/pmd] dff345: Fix #3763 - ambiguity error

2022-02-18 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/pmd/7.0.x
  Home:   https://github.com/pmd/pmd
  Commit: dff3458d61f4e4a25974502407471ee1f2aee929
  https://github.com/pmd/pmd/commit/dff3458d61f4e4a25974502407471ee1f2aee929
  Author: Clément Fournier 
  Date:   2022-02-07 (Mon, 07 Feb 2022)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symbols/table/coreimpl/NameResolver.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symbols/table/coreimpl/ShadowChainIteratorImpl.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symbols/table/coreimpl/ShadowChainNode.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symbols/table/coreimpl/ShadowChainNodeBase.java
A pmd-java/src/test/java/javasymbols/testdata/deep/StaticContainer.java
M 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/JavaParsingHelper.java
M 
pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/ast/KotlinTestingDsl.kt
M 
pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/symbols/table/internal/HeaderScopesTest.kt
M 
pmd-lang-test/src/main/kotlin/net/sourceforge/pmd/lang/ast/test/BaseParsingHelper.kt

  Log Message:
  ---
  Fix #3763 - ambiguity error

Problem was that the header scopes looked like this:

   IMPORTED -> EMPTY -> JAVA_LANG

Where IMPORTED and JAVA_LANG both can resolve the same
name NAME. The empty symtable is administrative, it's
a shadow barrier. With the previous definition of a
 shadow barrier, the barriers were positioned this way:

   IMPORTED -> EMPTY] -> JAVA_LANG]

IMPORTED asks for NAME and finds something. It's not
a shadow barrier so it asks EMPTY for NAME. EMPTY
does not know NAME so it asks its parent, ignoring that
it itself is a shadow barrier.

Now we don't call `ShadowChain::resolve` to collect
shadowed names to avoid this situation.


  Commit: b9542e521942d619c7f956c4451e4ae210d5b917
  https://github.com/pmd/pmd/commit/b9542e521942d619c7f956c4451e4ae210d5b917
  Author: Andreas Dangel 
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symbols/table/coreimpl/NameResolver.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symbols/table/coreimpl/ShadowChainIteratorImpl.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symbols/table/coreimpl/ShadowChainNode.java
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symbols/table/coreimpl/ShadowChainNodeBase.java
A pmd-java/src/test/java/javasymbols/testdata/deep/StaticContainer.java
M 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/JavaParsingHelper.java
M 
pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/ast/KotlinTestingDsl.kt
M 
pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/symbols/table/internal/HeaderScopesTest.kt
M 
pmd-lang-test/src/main/kotlin/net/sourceforge/pmd/lang/ast/test/BaseParsingHelper.kt

  Log Message:
  ---
  Merge pull request #3764 from oowekyala:issue3763-ambiguity-error

[java] Fixes #3763 - ambiguity error #3764


Compare: https://github.com/pmd/pmd/compare/116cb766aa6f...b9542e521942


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


[pmd-commits] [pmd/build-tools] fcfb44: Set priority of DoNotUseJavaUtilLogging to 1 (pmd/...

2022-02-18 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/master
  Home:   https://github.com/pmd/build-tools
  Commit: fcfb446cf42bf7e0deef30ed74b7e14277c04cc9
  
https://github.com/pmd/build-tools/commit/fcfb446cf42bf7e0deef30ed74b7e14277c04cc9
  Author: Andreas Dangel 
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
M src/main/resources/net/sourceforge/pmd/pmd7-dogfood-config.xml

  Log Message:
  ---
  Set priority of DoNotUseJavaUtilLogging to 1 (pmd/pmd#3789 pmd/pmd#896)




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


[pmd-commits] [pmd/build-tools] 8cee23: Make DoNotUseJavaUtilLogging suppressable on the c...

2022-02-18 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/master
  Home:   https://github.com/pmd/build-tools
  Commit: 8cee23190519dc4b813183bb23e4f8b4f024b306
  
https://github.com/pmd/build-tools/commit/8cee23190519dc4b813183bb23e4f8b4f024b306
  Author: Andreas Dangel 
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
M src/main/resources/net/sourceforge/pmd/pmd7-dogfood-config.xml

  Log Message:
  ---
  Make DoNotUseJavaUtilLogging suppressable on the class




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


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

2022-02-18 Thread Machine account for PMD via Pmd-commits
  Branch: refs/heads/gh-pages
  Home:   https://github.com/pmd/pmd
  Commit: da8568326d834dd2afafbe3bff71fc35ce0e7fc8
  https://github.com/pmd/pmd/commit/da8568326d834dd2afafbe3bff71fc35ce0e7fc8
  Author: PMD CI (pmd-bot) 
  Date:   2022-02-18 (Fri, 18 Feb 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_jsp.html
M pmd_languages_plsql.html
M 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 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/1864252567
https://github.com/pmd/pmd/compare/3dde3bc73924...7733be75ff80




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

[pmd-commits] [pmd/pmd] 3dde3b: Bump maven-pmd-plugin from 3.15.0 to 3.16.0

2022-02-18 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/pmd/7.0.x
  Home:   https://github.com/pmd/pmd
  Commit: 3dde3bc7392404207e4f97c32427306328ad76d4
  https://github.com/pmd/pmd/commit/3dde3bc7392404207e4f97c32427306328ad76d4
  Author: Andreas Dangel 
  Date:   2022-02-17 (Thu, 17 Feb 2022)

  Changed paths:
M pom.xml

  Log Message:
  ---
  Bump maven-pmd-plugin from 3.15.0 to 3.16.0


  Commit: 7733be75ff80a3ce5bdf8e7ca4f82c2483d99e57
  https://github.com/pmd/pmd/commit/7733be75ff80a3ce5bdf8e7ca4f82c2483d99e57
  Author: Andreas Dangel 
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
M docs/pages/release_notes.md
M pmd-core/src/main/java/net/sourceforge/pmd/PMD.java
M pmd-core/src/main/java/net/sourceforge/pmd/Report.java
M pmd-core/src/main/java/net/sourceforge/pmd/RuleContext.java
M 
pmd-core/src/main/java/net/sourceforge/pmd/renderers/AbstractAccumulatingRenderer.java
M pmd-java/src/test/java/net/sourceforge/pmd/ExcludeLinesTest.java
M 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/metrics/xpath/XPathMetricFunctionTest.java
M 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/XPathRuleTest.java
M pmd-test/src/main/java/net/sourceforge/pmd/testframework/RuleTst.java

  Log Message:
  ---
  [core] More deprecations around PMD/Report/RuleContext (#3762)


  Commit: 3b5908ed232d48df3f6ef1386e096acad125046b
  https://github.com/pmd/pmd/commit/3b5908ed232d48df3f6ef1386e096acad125046b
  Author: Andreas Dangel 
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
M pmd-core/src/main/java/net/sourceforge/pmd/Report.java

  Log Message:
  ---
  [core] Report.addSuppressedViolation can be private (is new in PMD7)


  Commit: 116cb766aa6f6c22c87d489b375f320aff56d4ed
  https://github.com/pmd/pmd/commit/116cb766aa6f6c22c87d489b375f320aff56d4ed
  Author: Andreas Dangel 
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
M docs/pages/release_notes.md
M pmd-core/src/main/java/net/sourceforge/pmd/PMD.java
M 
pmd-core/src/main/java/net/sourceforge/pmd/renderers/AbstractAccumulatingRenderer.java
M pmd-test/src/main/java/net/sourceforge/pmd/testframework/RuleTst.java
M pom.xml

  Log Message:
  ---
  Merge branch 'master' into pmd/7.0.x


Compare: https://github.com/pmd/pmd/compare/ee74e7eacf4b...116cb766aa6f


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


[pmd-commits] [pmd/pmd] 7733be: [core] More deprecations around PMD/Report/RuleCon...

2022-02-18 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 7733be75ff80a3ce5bdf8e7ca4f82c2483d99e57
  https://github.com/pmd/pmd/commit/7733be75ff80a3ce5bdf8e7ca4f82c2483d99e57
  Author: Andreas Dangel 
  Date:   2022-02-18 (Fri, 18 Feb 2022)

  Changed paths:
M docs/pages/release_notes.md
M pmd-core/src/main/java/net/sourceforge/pmd/PMD.java
M pmd-core/src/main/java/net/sourceforge/pmd/Report.java
M pmd-core/src/main/java/net/sourceforge/pmd/RuleContext.java
M 
pmd-core/src/main/java/net/sourceforge/pmd/renderers/AbstractAccumulatingRenderer.java
M pmd-java/src/test/java/net/sourceforge/pmd/ExcludeLinesTest.java
M 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/metrics/xpath/XPathMetricFunctionTest.java
M 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/XPathRuleTest.java
M pmd-test/src/main/java/net/sourceforge/pmd/testframework/RuleTst.java

  Log Message:
  ---
  [core] More deprecations around PMD/Report/RuleContext (#3762)




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