Branch: refs/heads/pmd/7.0.x Home: https://github.com/pmd/pmd Commit: 743ff275ebd4b4ad69b648e5b22acd1fb3896e73 https://github.com/pmd/pmd/commit/743ff275ebd4b4ad69b648e5b22acd1fb3896e73 Author: Clément Fournier <clement.fournie...@gmail.com> Date: 2022-02-18 (Fri, 18 Feb 2022)
Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTAssignableExpr.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/metrics/JavaMetrics.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/ArrayIsStoredDirectlyRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/AvoidReassigningLoopVariablesRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/ForLoopCanBeForeachRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/MethodReturnsInternalArrayRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/PreserveStackTraceRule.java M 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/UnusedPrivateFieldRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UseCollectionIsEmptyRule.java M 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/codestyle/FieldDeclarationsShouldBeAtStartOfClassRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/IdenticalCatchBranchesRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/UnnecessaryCastRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/UnnecessaryReturnRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/ImmutableFieldRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyBooleanReturnsRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyConditionalRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SingularFieldRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/UseUtilityClassRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/UselessOverridingMethodRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/documentation/CommentRequiredRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/AssignmentInOperandRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/BeanMembersShouldSerializeRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/BrokenNullCheckRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/CloneMethodMustImplementCloneableRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/CloseResourceRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/ConstructorCallsOverridableMethodRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/IdempotentOperationsRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/InvalidLogMessageFormatRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/ProperCloneImplementationRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/SingletonClassReturningNewInstanceRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/DataflowPass.java A pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/JavaAstUtil.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/JavaRuleUtil.java A pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/NodeMatcher.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/StablePathMatcher.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/multithreading/DoubleCheckedLockingRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/multithreading/UnsynchronizedStaticFormatterRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/ConsecutiveLiteralAppendsRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/InefficientEmptyStringCheckRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/InefficientStringBufferingRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/RedundantFieldInitializerRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UseStringBufferForStringAppendsRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UselessStringValueOfRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/types/ast/PolyResolution.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/internal/JavaRuleUtilTest.java M pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/types/ast/ConversionContextTests.kt Log Message: ----------- Extract members of JavaRuleUtil Commit: b34236db15d9b4b27ff1137b138cbd2424ff3a6e https://github.com/pmd/pmd/commit/b34236db15d9b4b27ff1137b138cbd2424ff3a6e Author: Clément Fournier <clement.fournie...@gmail.com> Date: 2022-02-18 (Fri, 18 Feb 2022) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/BinaryOp.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/metrics/JavaMetrics.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyBooleanReturnsRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/documentation/CommentRequiredRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/BeanMembersShouldSerializeRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/JavaAstUtil.java A pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/JavaNodeMatchers.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/JavaRuleUtil.java M pmd-java/src/main/resources/category/java/design.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/SimplifyBooleanReturns.xml Log Message: ----------- Fix #3786 Node matchers Commit: 62cdd0cc22c8a9f8797290fc157e8db9246c6f95 https://github.com/pmd/pmd/commit/62cdd0cc22c8a9f8797290fc157e8db9246c6f95 Author: Clément Fournier <clement.fournie...@gmail.com> Date: 2022-02-18 (Fri, 18 Feb 2022) Changed paths: R pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/JavaNodeMatchers.java R pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/NodeMatcher.java Log Message: ----------- Remove node matchers Commit: e8b79d6d27e43c80753fa2621949cddbc5fec6fb https://github.com/pmd/pmd/commit/e8b79d6d27e43c80753fa2621949cddbc5fec6fb Author: Clément Fournier <clement.fournie...@gmail.com> Date: 2022-02-18 (Fri, 18 Feb 2022) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyBooleanReturnsRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/SimplifyBooleanReturns.xml Log Message: ----------- fix a bug with parens Commit: 9cae6e08c6191721a9938a70810777082b7b5d66 https://github.com/pmd/pmd/commit/9cae6e08c6191721a9938a70810777082b7b5d66 Author: Clément Fournier <clement.fournie...@gmail.com> Date: 2022-02-19 (Sat, 19 Feb 2022) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTAssignableExpr.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/ArrayIsStoredDirectlyRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/AvoidReassigningLoopVariablesRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/ForLoopCanBeForeachRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/MethodReturnsInternalArrayRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/PreserveStackTraceRule.java M 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/UnusedPrivateFieldRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/UseCollectionIsEmptyRule.java M 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/codestyle/FieldDeclarationsShouldBeAtStartOfClassRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/IdenticalCatchBranchesRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/UnnecessaryCastRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/codestyle/UnnecessaryReturnRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/ImmutableFieldRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyBooleanReturnsRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyConditionalRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SingularFieldRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/UseUtilityClassRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/UselessOverridingMethodRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/AssignmentInOperandRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/BrokenNullCheckRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/CloneMethodMustImplementCloneableRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/CloseResourceRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/ConstructorCallsOverridableMethodRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/IdempotentOperationsRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/InvalidLogMessageFormatRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/ProperCloneImplementationRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/errorprone/SingletonClassReturningNewInstanceRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/DataflowPass.java R pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/JavaAstUtil.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/JavaRuleUtil.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/StablePathMatcher.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/multithreading/DoubleCheckedLockingRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/multithreading/UnsynchronizedStaticFormatterRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/ConsecutiveLiteralAppendsRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/InefficientEmptyStringCheckRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/InefficientStringBufferingRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/RedundantFieldInitializerRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UseStringBufferForStringAppendsRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UselessStringValueOfRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/types/ast/PolyResolution.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/internal/JavaRuleUtilTest.java M pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/types/ast/ConversionContextTests.kt Log Message: ----------- Revert changes to utils Commit: 0032ea1134b3c8e14100ea1b14466e204e055623 https://github.com/pmd/pmd/commit/0032ea1134b3c8e14100ea1b14466e204e055623 Author: Clément Fournier <clement.fournie...@gmail.com> Date: 2022-02-22 (Tue, 22 Feb 2022) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/BinaryOp.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyBooleanReturnsRule.java Log Message: ----------- Fix pmd warnings Commit: 7adfdfebd318f9965c263a10f74484935f84225e https://github.com/pmd/pmd/commit/7adfdfebd318f9965c263a10f74484935f84225e Author: Clément Fournier <clement.fournie...@gmail.com> Date: 2022-02-23 (Wed, 23 Feb 2022) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyBooleanReturnsRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/SimplifyBooleanReturns.xml Log Message: ----------- Fix some FNs Commit: 01fa91a5402a144951402cb755adea4ab3d89814 https://github.com/pmd/pmd/commit/01fa91a5402a144951402cb755adea4ab3d89814 Author: Andreas Dangel <andreas.dan...@pmd-code.org> Date: 2022-02-25 (Fri, 25 Feb 2022) Changed paths: M docs/pages/7_0_0_release_notes.md Log Message: ----------- [doc] Update release notes (#3786 #3795) Commit: 347a91a57ee688b594118d836f8821a1f2a2298e https://github.com/pmd/pmd/commit/347a91a57ee688b594118d836f8821a1f2a2298e Author: Andreas Dangel <andreas.dan...@pmd-code.org> Date: 2022-02-25 (Fri, 25 Feb 2022) Changed paths: M docs/pages/7_0_0_release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/BinaryOp.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyBooleanReturnsRule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/internal/JavaRuleUtil.java M pmd-java/src/main/resources/category/java/design.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/design/xml/SimplifyBooleanReturns.xml Log Message: ----------- Merge pull request #3795 from oowekyala:issue3786-simplify-boolean-returns [java] Fix #3786 - make SimplifyBooleanReturns consider parentheses. #3795 Compare: https://github.com/pmd/pmd/compare/f21008dce687...347a91a57ee6 _______________________________________________ Pmd-commits mailing list Pmd-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmd-commits