[pmd-commits] [pmd/pmd-designer] 86e21f: Update src/main/resources/net/sourceforge/pmd/util...

2021-07-29 Thread Clément Fournier via Pmd-commits
  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd-designer
  Commit: 86e21fe9a8d8ff81687bf44c5c84230138a35f90
  
https://github.com/pmd/pmd-designer/commit/86e21fe9a8d8ff81687bf44c5c84230138a35f90
  Author: Juan Martín Sotuyo Dodero 
  Date:   2021-07-07 (Wed, 07 Jul 2021)

  Changed paths:
M src/main/resources/net/sourceforge/pmd/util/fxdesigner/less/tests.less

  Log Message:
  ---
  Update src/main/resources/net/sourceforge/pmd/util/fxdesigner/less/tests.less

Co-authored-by: Clément Fournier 


  Commit: 9847bc4971512ce85855b373ed80e056724d7401
  
https://github.com/pmd/pmd-designer/commit/9847bc4971512ce85855b373ed80e056724d7401
  Author: Clément Fournier 
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
M src/main/resources/net/sourceforge/pmd/util/fxdesigner/less/tests.less

  Log Message:
  ---
  Merge commit '86e21fe9a8d8ff81687bf44c5c84230138a35f90'


Compare: https://github.com/pmd/pmd-designer/compare/3a1c0077d0e4...9847bc497151


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


[pmd-commits] [pmd/pmd-designer] 0c4732: Usability improvements

2021-07-29 Thread Clément Fournier via Pmd-commits
  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd-designer
  Commit: 0c4732bbf3ad32470bbd020d0f0cbd3c21d71ec4
  
https://github.com/pmd/pmd-designer/commit/0c4732bbf3ad32470bbd020d0f0cbd3c21d71ec4
  Author: Juan Martín Sotuyo Dodero 
  Date:   2021-07-07 (Wed, 07 Jul 2021)

  Changed paths:
M 
src/main/java/net/sourceforge/pmd/util/fxdesigner/util/controls/TestCaseListCell.java
M src/main/resources/net/sourceforge/pmd/util/fxdesigner/fxml/editor.fxml
M src/main/resources/net/sourceforge/pmd/util/fxdesigner/less/tests.less

  Log Message:
  ---
  Usability improvements

 - The export AST now uses the same icon as other exports
 - The edit test code button now uses a more descriptive icon
 - The edit test name button is now smaller and to the left to keep them
all aligned
 - The duplicate test tooltip text is improved
 - The border around test status no longer fades around the sides


  Commit: f943e6caaae7f7c0825d95396f57c62154403df6
  
https://github.com/pmd/pmd-designer/commit/f943e6caaae7f7c0825d95396f57c62154403df6
  Author: Clément Fournier 
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
M src/main/resources/net/sourceforge/pmd/util/fxdesigner/less/tests.less

  Log Message:
  ---
  Fix formatting


  Commit: 9589a2d5ae34fe92b5812537830ae197eb131437
  
https://github.com/pmd/pmd-designer/commit/9589a2d5ae34fe92b5812537830ae197eb131437
  Author: Clément Fournier 
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
M 
src/main/java/net/sourceforge/pmd/util/fxdesigner/util/controls/TestCaseListCell.java
M src/main/resources/net/sourceforge/pmd/util/fxdesigner/fxml/editor.fxml
M src/main/resources/net/sourceforge/pmd/util/fxdesigner/less/tests.less

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


  Commit: 3a1c0077d0e4e9aec2b1b9e07bae8305c116da44
  
https://github.com/pmd/pmd-designer/commit/3a1c0077d0e4e9aec2b1b9e07bae8305c116da44
  Author: Clément Fournier 
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
M CHANGELOG.md
M pom.xml

  Log Message:
  ---
  Update changelog


Compare: https://github.com/pmd/pmd-designer/compare/98395d17ad05...3a1c0077d0e4


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


[pmd-commits] [pmd/pmd] 4dba53: Fix #2908 - new rule SimplifiableTestAssertion

2021-07-29 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/pmd/7.0.x
  Home:   https://github.com/pmd/pmd
  Commit: 4dba533056a38db7fdd81b505658de391ec4f966
  https://github.com/pmd/pmd/commit/4dba533056a38db7fdd81b505658de391ec4f966
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
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
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:
  ---
  Fix #2908 - new rule SimplifiableTestAssertion


  Commit: fd4b0a97954da90d2df53a3fbba48e1b56096e13
  https://github.com/pmd/pmd/commit/fd4b0a97954da90d2df53a3fbba48e1b56096e13
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M pmd-java/src/main/resources/category/java/bestpractices.xml
M pmd-java/src/main/resources/category/java/design.xml

  Log Message:
  ---
  Deprecate old rules

bestpractices.xml
UseAssertEqualsInsteadOfAssertTrue
UseAssertNullInsteadOfAssertTrue
UseAssertSameInsteadOfAssertTrue
UseAssertTrueInsteadOfAssertEquals
design.xml/SimplifyBooleanAssertion


  Commit: f17d6b76f9a54629d984e7e3fd835afaf9a58820
  https://github.com/pmd/pmd/commit/f17d6b76f9a54629d984e7e3fd835afaf9a58820
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M pmd-java/src/main/resources/category/java/bestpractices.xml
M pmd-java/src/main/resources/category/java/design.xml

  Log Message:
  ---
  Finish doc


  Commit: b7ec9c4b909b352e79449973b6d7166cbca91846
  https://github.com/pmd/pmd/commit/b7ec9c4b909b352e79449973b6d7166cbca91846
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M pmd-java/src/main/resources/category/java/bestpractices.xml

  Log Message:
  ---
  Fix url


  Commit: 5e76d6d2d67966e528be77dcf593a602c4274c83
  https://github.com/pmd/pmd/commit/5e76d6d2d67966e528be77dcf593a602c4274c83
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M pmd-java/src/main/resources/rulesets/java/quickstart.xml

  Log Message:
  ---
  Update quickstart.xml


  Commit: eb64904e4fb2ee7e0e75fa1aea26f9f0a0a2856d
  https://github.com/pmd/pmd/commit/eb64904e4fb2ee7e0e75fa1aea26f9f0a0a2856d
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/SimplifiableTestAssertionRule.java

  Log Message:
  ---
  Fix pmd warnings


  Commit: 5d2ba4666b135cde1c8e6a91a118b2cc60b8bfea
  https://github.com/pmd/pmd/commit/5d2ba4666b135cde1c8e6a91a118b2cc60b8bfea
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/SimplifiableTestAssertionRule.java

  Log Message:
  ---
  cleanup


  Commit: 528b88f53e84f1e9744a429e51e0e26f08c1ce2a
  https://github.com/pmd/pmd/commit/528b88f53e84f1e9744a429e51e0e26f08c1ce2a
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

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

  Log Message:
  ---
  Make new rule PrimitiveWrapperInstantiation


  Commit: 796a9a27a539cba622a0226cd6125f9017450d0a
  https://github.com/pmd/pmd/commit/796a9a27a539cba622a0226cd6125f9017450d0a
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M pmd-java/src/main/resources/category/java/bestpractices.xml
M pmd-java/src/main/resources/category/java/performance.xml
M pmd-java/src/main/resources/rulesets/java/quickstart.xml
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/PrimitiveWrapperInstantiation.xml

  Log Message:
  ---
  Deprecate old rules


  Commit: 5f618ff508e3d2d7f358f785ea0c6a31ed161937
  https://github.com/pmd/pmd/commit/5f618ff508e3d2d7f358f785ea0c6a31ed161937
  Author: Clément Fournier 
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
M do-release.sh
M docs/_config.yml
M docs/pages/next_major_development.md
M docs/pages/release_notes.md
M docs/pages/release_notes_old.md
M pmd-apex-jorje/pom.xml
M pmd-apex/pom.xml
M pmd-core/pom.xml
M 

[pmd-commits] [pmd/pmd] 32953e: Update documentation

2021-07-29 Thread Machine account for PMD via Pmd-commits
  Branch: refs/heads/gh-pages
  Home:   https://github.com/pmd/pmd
  Commit: 32953e069f8552076fc8f0c1994f01af0485dcbb
  https://github.com/pmd/pmd/commit/32953e069f8552076fc8f0c1994f01af0485dcbb
  Author: PMD CI (pmd-bot) 
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
M feed.xml
M pmd_release_notes.html
M pmd_rules_java.html
M pmd_rules_java_bestpractices.html
M pmd_rules_java_performance.html
M search.json

  Log Message:
  ---
  Update documentation

https://github.com/pmd/pmd/actions/runs/1079347648
https://github.com/pmd/pmd/compare/92efe6afb829...c17deb5f8712




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


[pmd-commits] [pmd/pmd] 528b88: Make new rule PrimitiveWrapperInstantiation

2021-07-29 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 528b88f53e84f1e9744a429e51e0e26f08c1ce2a
  https://github.com/pmd/pmd/commit/528b88f53e84f1e9744a429e51e0e26f08c1ce2a
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

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

  Log Message:
  ---
  Make new rule PrimitiveWrapperInstantiation


  Commit: 796a9a27a539cba622a0226cd6125f9017450d0a
  https://github.com/pmd/pmd/commit/796a9a27a539cba622a0226cd6125f9017450d0a
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M pmd-java/src/main/resources/category/java/bestpractices.xml
M pmd-java/src/main/resources/category/java/performance.xml
M pmd-java/src/main/resources/rulesets/java/quickstart.xml
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/PrimitiveWrapperInstantiation.xml

  Log Message:
  ---
  Deprecate old rules


  Commit: 33f9ff339441593a2209f4fbf45770246bbbe440
  https://github.com/pmd/pmd/commit/33f9ff339441593a2209f4fbf45770246bbbe440
  Author: Andreas Dangel 
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
A 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/PrimitiveWrapperInstantiationRule.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/PrimitiveWrapperInstantiation.xml

  Log Message:
  ---
  [java] Integrate BooleanInstantiation into PrimitiveWrapperInstantiation


  Commit: ee4cbae4ac356028e1e0f3f5178a5a75a336307a
  https://github.com/pmd/pmd/commit/ee4cbae4ac356028e1e0f3f5178a5a75a336307a
  Author: Andreas Dangel 
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
M pmd-java/src/main/resources/category/java/performance.xml
M pmd-java/src/main/resources/rulesets/java/quickstart.xml

  Log Message:
  ---
  [java] Deprecate rule BooleanInstantiation


  Commit: 05f2bd6b0635684997dc2d856e061a1b25ec6cd9
  https://github.com/pmd/pmd/commit/05f2bd6b0635684997dc2d856e061a1b25ec6cd9
  Author: Andreas Dangel 
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
M .ci/build.sh
M .ci/files/project-list.xml
M .ci/inc/regression-tester.inc
M Gemfile.lock
M do-release.sh
M docs/Gemfile.lock
M docs/_config.yml
M docs/pages/next_major_development.md
M docs/pages/pmd/userdocs/tools/tools.md
M docs/pages/release_notes.md
M docs/pages/release_notes_old.md
M pmd-apex-jorje/pom.xml
M pmd-apex/pom.xml
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/pom.xml
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
M pmd-core/src/main/java/net/sourceforge/pmd/lang/LanguageVersion.java
M pmd-core/src/main/java/net/sourceforge/pmd/util/IOUtil.java
A pmd-core/src/main/resources/rulesets/releases/6370.xml
M pmd-core/src/test/java/net/sourceforge/pmd/cli/CoreCliTest.java
M pmd-cpp/pom.xml
M pmd-cs/pom.xml
M pmd-dart/pom.xml
M pmd-dist/pom.xml
M pmd-doc/pom.xml
M pmd-fortran/pom.xml
M pmd-go/pom.xml
M pmd-groovy/pom.xml
M pmd-java/pom.xml
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/bestpractices/UnusedAssignmentRule.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-commits] [pmd/pmd] 7768e8: Update documentation

2021-07-29 Thread Machine account for PMD via Pmd-commits
  Branch: refs/heads/gh-pages
  Home:   https://github.com/pmd/pmd
  Commit: 7768e85ac5e2a83f66b009b7dafacf7a4830b7e0
  https://github.com/pmd/pmd/commit/7768e85ac5e2a83f66b009b7dafacf7a4830b7e0
  Author: PMD CI (pmd-bot) 
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
M feed.xml

  Log Message:
  ---
  Update documentation

https://github.com/pmd/pmd/actions/runs/1079069422
https://github.com/pmd/pmd/compare/41aadfb6927a...92efe6afb829




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


[pmd-commits] [pmd/pmd] e6663b: [doc] Add rulesets/releases/6370.xml

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

  Changed paths:
A pmd-core/src/main/resources/rulesets/releases/6370.xml

  Log Message:
  ---
  [doc] Add rulesets/releases/6370.xml


  Commit: 92efe6afb82978028254986cdd0fbca994901bd2
  https://github.com/pmd/pmd/commit/92efe6afb82978028254986cdd0fbca994901bd2
  Author: Andreas Dangel 
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
M pom.xml

  Log Message:
  ---
  Remove obsolete dependency junit-dep


Compare: https://github.com/pmd/pmd/compare/41aadfb6927a...92efe6afb829


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


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

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

  Changed paths:
M feed.xml
M pmd_release_notes.html
M pmd_rules_java_bestpractices.html

  Log Message:
  ---
  Update documentation

https://github.com/pmd/pmd/actions/runs/1078398268
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


[pmd-commits] [pmd/pmd] 6266b1: [java] Reimplement UseTryWithResources as Java rule

2021-07-29 Thread Clément Fournier via Pmd-commits
  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 6266b1ce03ae8f2f972bf4be7822dea244df7b38
  https://github.com/pmd/pmd/commit/6266b1ce03ae8f2f972bf4be7822dea244df7b38
  Author: Andreas Dangel 
  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 
  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 
  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 
  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 
  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 
  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 
  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 
  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-commits] [pmd/build-tools] d02e98: Update ruleset

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

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

  Log Message:
  ---
  Update ruleset


  Commit: 0d76055969aaccc831edf05b3261120f78c9571a
  
https://github.com/pmd/build-tools/commit/0d76055969aaccc831edf05b3261120f78c9571a
  Author: Andreas Dangel 
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
M pom.xml

  Log Message:
  ---
  Remove obsolete dependency junit-dep


Compare: https://github.com/pmd/build-tools/compare/6e540bad8110...0d76055969aa


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


[pmd-commits] [pmd/pmd] 896f96: Update documentation

2021-07-29 Thread Machine account for PMD via Pmd-commits
  Branch: refs/heads/gh-pages
  Home:   https://github.com/pmd/pmd
  Commit: 896f9623a141b5c633028f862378c15c32cdca7d
  https://github.com/pmd/pmd/commit/896f9623a141b5c633028f862378c15c32cdca7d
  Author: PMD CI (pmd-bot) 
  Date:   2021-07-29 (Thu, 29 Jul 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_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 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/1077975346
https://github.com/pmd/pmd/compare/bc5da416aa35...2f9aa60aae23




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

[pmd-commits] [pmd/pmd] 4dba53: Fix #2908 - new rule SimplifiableTestAssertion

2021-07-29 Thread Andreas Dangel via Pmd-commits
  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 4dba533056a38db7fdd81b505658de391ec4f966
  https://github.com/pmd/pmd/commit/4dba533056a38db7fdd81b505658de391ec4f966
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
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
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:
  ---
  Fix #2908 - new rule SimplifiableTestAssertion


  Commit: fd4b0a97954da90d2df53a3fbba48e1b56096e13
  https://github.com/pmd/pmd/commit/fd4b0a97954da90d2df53a3fbba48e1b56096e13
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M pmd-java/src/main/resources/category/java/bestpractices.xml
M pmd-java/src/main/resources/category/java/design.xml

  Log Message:
  ---
  Deprecate old rules

bestpractices.xml
UseAssertEqualsInsteadOfAssertTrue
UseAssertNullInsteadOfAssertTrue
UseAssertSameInsteadOfAssertTrue
UseAssertTrueInsteadOfAssertEquals
design.xml/SimplifyBooleanAssertion


  Commit: f17d6b76f9a54629d984e7e3fd835afaf9a58820
  https://github.com/pmd/pmd/commit/f17d6b76f9a54629d984e7e3fd835afaf9a58820
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M pmd-java/src/main/resources/category/java/bestpractices.xml
M pmd-java/src/main/resources/category/java/design.xml

  Log Message:
  ---
  Finish doc


  Commit: b7ec9c4b909b352e79449973b6d7166cbca91846
  https://github.com/pmd/pmd/commit/b7ec9c4b909b352e79449973b6d7166cbca91846
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M pmd-java/src/main/resources/category/java/bestpractices.xml

  Log Message:
  ---
  Fix url


  Commit: 5e76d6d2d67966e528be77dcf593a602c4274c83
  https://github.com/pmd/pmd/commit/5e76d6d2d67966e528be77dcf593a602c4274c83
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M pmd-java/src/main/resources/rulesets/java/quickstart.xml

  Log Message:
  ---
  Update quickstart.xml


  Commit: eb64904e4fb2ee7e0e75fa1aea26f9f0a0a2856d
  https://github.com/pmd/pmd/commit/eb64904e4fb2ee7e0e75fa1aea26f9f0a0a2856d
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/SimplifiableTestAssertionRule.java

  Log Message:
  ---
  Fix pmd warnings


  Commit: 5d2ba4666b135cde1c8e6a91a118b2cc60b8bfea
  https://github.com/pmd/pmd/commit/5d2ba4666b135cde1c8e6a91a118b2cc60b8bfea
  Author: Clément Fournier 
  Date:   2021-06-25 (Fri, 25 Jun 2021)

  Changed paths:
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/SimplifiableTestAssertionRule.java

  Log Message:
  ---
  cleanup


  Commit: 5f618ff508e3d2d7f358f785ea0c6a31ed161937
  https://github.com/pmd/pmd/commit/5f618ff508e3d2d7f358f785ea0c6a31ed161937
  Author: Clément Fournier 
  Date:   2021-06-28 (Mon, 28 Jun 2021)

  Changed paths:
M do-release.sh
M docs/_config.yml
M docs/pages/next_major_development.md
M docs/pages/release_notes.md
M docs/pages/release_notes_old.md
M pmd-apex-jorje/pom.xml
M pmd-apex/pom.xml
M pmd-core/pom.xml
M pmd-cpp/pom.xml
M pmd-cs/pom.xml
M pmd-dart/pom.xml
M pmd-dist/pom.xml
M pmd-doc/pom.xml
M pmd-fortran/pom.xml
M pmd-go/pom.xml
M pmd-groovy/pom.xml
M pmd-java/pom.xml
M 
pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UnusedAssignmentRule.java
M 
pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UnusedAssignment.xml
M pmd-java8/pom.xml
M pmd-javascript/pom.xml
M pmd-jsp/pom.xml
M pmd-kotlin/pom.xml
M pmd-lang-test/pom.xml
M pmd-lua/pom.xml
M pmd-matlab/pom.xml
M pmd-modelica/pom.xml
M pmd-objectivec/pom.xml
M pmd-perl/pom.xml
M pmd-php/pom.xml
M pmd-plsql/pom.xml
M pmd-python/pom.xml
M pmd-ruby/pom.xml
M pmd-scala-modules/pmd-scala-common/pom.xml
M pmd-scala-modules/pmd-scala_2.12/pom.xml
M pmd-scala-modules/pmd-scala_2.13/pom.xml
M pmd-scala/pom.xml
M pmd-swift/pom.xml
M pmd-test/pom.xml
M pmd-visualforce/pom.xml
M pmd-vm/pom.xml
M pmd-xml/pom.xml
M pom.xml

  Log Message:
  ---
  Merge branch 'master' into isue2908-merge-junit-rules


  Commit: 3c9f27766417739d6b1ad4e1bb034f8f32a34466