Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 6266b1ce03ae8f2f972bf4be7822dea244df7b38
      https://github.com/pmd/pmd/commit/6266b1ce03ae8f2f972bf4be7822dea244df7b38
  Author: Andreas Dangel <andreas.dan...@pmd-code.org>
  Date:   2021-07-08 (Thu, 08 Jul 2021)

  Changed paths:
    A 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UseTryWithResourcesRule.java
    M pmd-java/src/main/resources/category/java/bestpractices.xml

  Log Message:
  -----------
  [java] Reimplement UseTryWithResources as Java rule


  Commit: f8f6391eb67d69bb6c2e4151c58762e436a75e6c
      https://github.com/pmd/pmd/commit/f8f6391eb67d69bb6c2e4151c58762e436a75e6c
  Author: Andreas Dangel <andreas.dan...@pmd-code.org>
  Date:   2021-07-08 (Thu, 08 Jul 2021)

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

  Log Message:
  -----------
  [java] UseTryWithResources false positive with not local vars

when closeable is provided as a method argument or class field
Fixes #3235


  Commit: 01a9c0fa998ec4c7e5d5244a9bd092d67d162fe1
      https://github.com/pmd/pmd/commit/01a9c0fa998ec4c7e5d5244a9bd092d67d162fe1
  Author: Andreas Dangel <andreas.dan...@pmd-code.org>
  Date:   2021-07-08 (Thu, 08 Jul 2021)

  Changed paths:
    M docs/pages/release_notes.md
    M pmd-core/src/main/java/net/sourceforge/pmd/util/IOUtil.java
    M pmd-core/src/test/java/net/sourceforge/pmd/cli/CoreCliTest.java

  Log Message:
  -----------
  Merge branch 'master' into issue-3235-usetrywithresources


  Commit: ec27419235feced7fc7cd2956a9b82c1fd3be610
      https://github.com/pmd/pmd/commit/ec27419235feced7fc7cd2956a9b82c1fd3be610
  Author: Andreas Dangel <andreas.dan...@pmd-code.org>
  Date:   2021-07-10 (Sat, 10 Jul 2021)

  Changed paths:
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UseTryWithResourcesRule.java
    M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UseTryWithResources.xml

  Log Message:
  -----------
  [java] Fix NPE in UseTryWithResources


  Commit: d9adde3d9649e837af8f3b91e0dfb9da715f53e9
      https://github.com/pmd/pmd/commit/d9adde3d9649e837af8f3b91e0dfb9da715f53e9
  Author: Andreas Dangel <andreas.dan...@pmd-code.org>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

  Changed paths:
    M docs/pages/release_notes.md
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/CPD.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/TokenEntry.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/Tokens.java

  Log Message:
  -----------
  [core] Internalize cpd.TokenEntry.State


  Commit: 4306d0d1084934d34d82b7c17049cdfb5c4938d1
      https://github.com/pmd/pmd/commit/4306d0d1084934d34d82b7c17049cdfb5c4938d1
  Author: Andreas Dangel <andreas.dan...@pmd-code.org>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M pmd-core/src/main/java/net/sourceforge/pmd/lang/LanguageVersion.java
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/BigIntegerInstantiationRule.java
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationRule.java
    A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/JavaLanguageModuleTest.java

  Log Message:
  -----------
  [core] Fix LanguageVersion compareTo

This didn't work with java 9 compared to java 10,
as the full name was compared ("Java 9" vs. "Java 10")
as a string rather than using version numbers.

Now the logic is much simpler: The versions defined
for a language are ordered, new versions are always added
at the end.

Also backports the useful method "compareToVersion" from pmd 7
and use this in the rules BigIntegerInstatiation and
UnnecessaryWrapperObjectCreation.


  Commit: 7bdea4f77e6f1c7f83a3d2158b6b591f66ae91c9
      https://github.com/pmd/pmd/commit/7bdea4f77e6f1c7f83a3d2158b6b591f66ae91c9
  Author: Andreas Dangel <andreas.dan...@pmd-code.org>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M docs/pages/release_notes.md

  Log Message:
  -----------
  [doc] Update release notes (#1603)


  Commit: cf4b44ec0f37fc30d21e11e6511f274feafb7620
      https://github.com/pmd/pmd/commit/cf4b44ec0f37fc30d21e11e6511f274feafb7620
  Author: Clément Fournier <clement.fournie...@gmail.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M docs/pages/release_notes.md
    A 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/SimplifiableTestAssertionRule.java
    M pmd-java/src/main/resources/category/java/bestpractices.xml
    M pmd-java/src/main/resources/category/java/design.xml
    M pmd-java/src/main/resources/rulesets/java/quickstart.xml
    A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/SimplifiableTestAssertionTest.java
    A 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/SimplifiableTestAssertion.xml
    M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UseAssertEqualsInsteadOfAssertTrue.xml

  Log Message:
  -----------
  Merge branch 'master' into pr/3415


  Commit: 1de8ef65c497b9200588fb1edf700a0e1e948a5d
      https://github.com/pmd/pmd/commit/1de8ef65c497b9200588fb1edf700a0e1e948a5d
  Author: Clément Fournier <clement.fournie...@gmail.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M docs/pages/release_notes.md
    M pmd-core/src/main/java/net/sourceforge/pmd/lang/LanguageVersion.java
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/BigIntegerInstantiationRule.java
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationRule.java
    A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/JavaLanguageModuleTest.java

  Log Message:
  -----------
  Merge branch 'pr/3415'


  Commit: d1a21b128a5a807659a185be6095ae185bf9293e
      https://github.com/pmd/pmd/commit/d1a21b128a5a807659a185be6095ae185bf9293e
  Author: Clément Fournier <clement.fournie...@gmail.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M .ci/build.sh
    M .ci/inc/regression-tester.inc
    M Gemfile.lock
    M docs/Gemfile.lock
    M docs/pages/pmd/userdocs/tools/tools.md
    M docs/pages/release_notes.md
    M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/internal/Helper.java
    M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/security/ApexCRUDViolationRule.java
    M pmd-apex/src/main/resources/category/apex/security.xml
    M 
pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/security/xml/ApexCRUDViolation.xml
    M pmd-core/src/main/java/net/sourceforge/pmd/lang/LanguageVersion.java
    A 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/SimplifiableTestAssertionRule.java
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/BigIntegerInstantiationRule.java
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationRule.java
    M pmd-java/src/main/resources/category/java/bestpractices.xml
    M pmd-java/src/main/resources/category/java/design.xml
    M pmd-java/src/main/resources/category/java/errorprone.xml
    M pmd-java/src/main/resources/rulesets/java/quickstart.xml
    A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/JavaLanguageModuleTest.java
    A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/SimplifiableTestAssertionTest.java
    A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/errorprone/ImplicitSwitchFallThroughTest.java
    R 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/errorprone/MissingBreakInSwitchTest.java
    A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/errorprone/ReturnEmptyCollectionRatherThanNullTest.java
    A 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/SimplifiableTestAssertion.xml
    M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UseAssertEqualsInsteadOfAssertTrue.xml
    A 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/ImplicitSwitchFallThrough.xml
    R 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/MissingBreakInSwitch.xml
    A 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/ReturnEmptyCollectionRatherThanNull.xml
    M pom.xml

  Log Message:
  -----------
  Merge branch 'master' into pr/3393


  Commit: 0bc7b4fb8cf8eb729b58b5e9b235747d639d8e2c
      https://github.com/pmd/pmd/commit/0bc7b4fb8cf8eb729b58b5e9b235747d639d8e2c
  Author: Clément Fournier <clement.fournie...@gmail.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M docs/pages/release_notes.md
    A 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UseTryWithResourcesRule.java
    M pmd-java/src/main/resources/category/java/bestpractices.xml
    M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UseTryWithResources.xml

  Log Message:
  -----------
  Merge branch 'pr/3393'


  Commit: ff805ae7c5d854ace01b009e23fd60816f9e4a05
      https://github.com/pmd/pmd/commit/ff805ae7c5d854ace01b009e23fd60816f9e4a05
  Author: Clément Fournier <clement.fournie...@gmail.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M .ci/build.sh
    M .ci/inc/regression-tester.inc
    M docs/pages/release_notes.md
    M pmd-core/src/main/java/net/sourceforge/pmd/lang/LanguageVersion.java
    A 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/SimplifiableTestAssertionRule.java
    A 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UseTryWithResourcesRule.java
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/BigIntegerInstantiationRule.java
    M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationRule.java
    M pmd-java/src/main/resources/category/java/bestpractices.xml
    M pmd-java/src/main/resources/category/java/design.xml
    M pmd-java/src/main/resources/category/java/errorprone.xml
    M pmd-java/src/main/resources/rulesets/java/quickstart.xml
    A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/JavaLanguageModuleTest.java
    A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/SimplifiableTestAssertionTest.java
    A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/errorprone/ImplicitSwitchFallThroughTest.java
    R 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/errorprone/MissingBreakInSwitchTest.java
    A 
pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/errorprone/ReturnEmptyCollectionRatherThanNullTest.java
    A 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/SimplifiableTestAssertion.xml
    M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UseAssertEqualsInsteadOfAssertTrue.xml
    M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UseTryWithResources.xml
    A 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/ImplicitSwitchFallThrough.xml
    R 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/MissingBreakInSwitch.xml
    A 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/errorprone/xml/ReturnEmptyCollectionRatherThanNull.xml
    M pom.xml

  Log Message:
  -----------
  Merge branch 'master' into pr/3409


  Commit: 41aadfb6927a1612b99526daab639d5a022d5789
      https://github.com/pmd/pmd/commit/41aadfb6927a1612b99526daab639d5a022d5789
  Author: Clément Fournier <clement.fournie...@gmail.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M docs/pages/release_notes.md
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/CPD.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/TokenEntry.java
    M pmd-core/src/main/java/net/sourceforge/pmd/cpd/Tokens.java

  Log Message:
  -----------
  Merge branch 'pr/3409'


Compare: https://github.com/pmd/pmd/compare/2f9aa60aae23...41aadfb6927a


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

Reply via email to