Branch: refs/heads/pmd/7.0.x Home: https://github.com/pmd/pmd Commit: 50d2287baa5916964502630f5755b36d917215db https://github.com/pmd/pmd/commit/50d2287baa5916964502630f5755b36d917215db Author: Andreas Dangel <andreas.dan...@pmd-code.org> Date: 2021-07-24 (Sat, 24 Jul 2021)
Changed paths: M .ci/files/all-java.xml M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationRule.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationTest.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/performance/xml/UnnecessaryWrapperObjectCreation.xml Log Message: ----------- [java] Update rule UnnecessaryWrapperObjectCreation Commit: 7be41188bcd34df0b7da3f203810fe69518b557c https://github.com/pmd/pmd/commit/7be41188bcd34df0b7da3f203810fe69518b557c Author: Andreas Dangel <andreas.dan...@pmd-code.org> Date: 2021-07-24 (Sat, 24 Jul 2021) Changed paths: M docs/pages/7_0_0_release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationRule.java M pmd-java/src/main/resources/category/java/performance.xml M pmd-java/src/main/resources/rulesets/java/quickstart.xml Log Message: ----------- [java] Deprecated UnnecessaryWrapperObjectCreation Replaced by UnnecessaryBoxing Commit: 9d529e5570b388e531108394d7a3eb4287bf488b https://github.com/pmd/pmd/commit/9d529e5570b388e531108394d7a3eb4287bf488b Author: Andreas Dangel <andreas.dan...@pmd-code.org> Date: 2021-07-24 (Sat, 24 Jul 2021) Changed paths: M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationRule.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/performance/xml/UnnecessaryWrapperObjectCreation.xml Log Message: ----------- [java] UnnecessaryWrapperObjectCreation - fix NPE Commit: 85e9bfa8f12f621a78daf29cab3cd40017c2e30c https://github.com/pmd/pmd/commit/85e9bfa8f12f621a78daf29cab3cd40017c2e30c Author: Clément Fournier <clement.fournie...@gmail.com> Date: 2021-08-07 (Sat, 07 Aug 2021) Changed paths: M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/UnnecessaryBoxing.xml Log Message: ----------- Add test cases from UnnecessaryWrapperObjectCreation to UnnecessaryBoxing Refs #3418 Commit: 8112dc4042ce3a92379b98c3d79995d3013ddf83 https://github.com/pmd/pmd/commit/8112dc4042ce3a92379b98c3d79995d3013ddf83 Author: Clément Fournier <clement.fournie...@gmail.com> Date: 2021-08-07 (Sat, 07 Aug 2021) Changed paths: M .ci/files/all-java.xml M .github/workflows/build.yml M .github/workflows/git-repo-sync.yml M .github/workflows/troubleshooting.yml M docs/_config.yml M docs/pages/next_major_development.md M docs/pages/pmd/userdocs/cli_reference.md M docs/pages/pmd/userdocs/tools/ant.md M docs/pages/release_notes.md M docs/pages/release_notes_old.md M pmd-core/src/main/java/net/sourceforge/pmd/PMD.java M pmd-core/src/main/java/net/sourceforge/pmd/PMDConfiguration.java M pmd-core/src/main/java/net/sourceforge/pmd/SourceCodeProcessor.java M pmd-core/src/main/java/net/sourceforge/pmd/cli/PMDParameters.java 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/FileUtil.java M pmd-core/src/main/resources/rulesets/internal/all-java.xml A pmd-core/src/main/resources/rulesets/releases/6370.xml A pmd-core/src/test/java/net/sourceforge/pmd/lang/LanguageParameterTest.java M pmd-java/etc/grammar/Java.jjt M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/JavaLanguageModule.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTClassOrInterfaceDeclaration.java A pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTGuardedPattern.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTPattern.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTPermitsList.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/ASTTypePattern.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/AstImplUtil.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/ast/internal/LanguageLevelChecker.java M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/AbstractJavaRule.java A pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/bestpractices/PrimitiveWrapperInstantiationRule.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/errorprone/AvoidUsingOctalValuesRule.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/performance/AvoidInstantiatingObjectsInLoopsRule.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/symbols/internal/ast/AstLocalVarSym.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/performance.xml M pmd-java/src/main/resources/rulesets/java/quickstart.xml M pmd-java/src/test/java/net/sourceforge/pmd/LanguageVersionTest.java M pmd-java/src/test/java/net/sourceforge/pmd/coverage/PMDCoverageTest.java A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/JavaLanguageModuleTest.java R pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/Java15PreviewTreeDumpTest.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/Java15TreeDumpTest.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/Java16TreeDumpTest.java A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/Java17PreviewTreeDumpTest.java A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/Java17TreeDumpTest.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/JavaQualifiedNameTest.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/ParserCornersTest.java A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/PrimitiveWrapperInstantiationTest.java A pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/bestpractices/SimplifiableTestAssertionTest.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/design/AvoidUncheckedExceptionsInSignaturesTest.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/errorprone/AvoidUsingOctalValuesTest.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/performance/AvoidArrayLoopsTest.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/performance/AvoidCalendarDateCreationTest.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/performance/AvoidInstantiatingObjectsInLoopsTest.java M pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/ast/ASTLiteralTest.kt M pmd-java/src/test/kotlin/net/sourceforge/pmd/lang/java/ast/ASTPatternTest.kt 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/ast/NodeParsingCtx.kt R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/LocalInterfacesAndEnums.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/LocalInterfacesAndEnums.txt R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/LocalRecords.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/LocalRecords.txt R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/PatternMatchingInstanceof.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/PatternMatchingInstanceof.txt R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/Point.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/Point.txt R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/Records.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/Records.txt R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/expression/ConstantExpr.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/expression/Expr.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/expression/Expr.txt R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/expression/NegExpr.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/expression/PlusExpr.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/expression/TimesExpr.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/geometry/Circle.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/geometry/FilledRectangle.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/geometry/Rectangle.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/geometry/Shape.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/geometry/Shape.txt R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/geometry/Square.java R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/geometry/Square.txt R pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java15p/geometry/TransparentRectangle.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java16/PatternMatchingInstanceof.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java16/PatternMatchingInstanceof.txt A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/LocalVars.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/LocalVars.txt A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/expression/ConstantExpr.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/expression/Expr.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/expression/Expr.txt A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/expression/NegExpr.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/expression/PlusExpr.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/expression/TimesExpr.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/geometry/Circle.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/geometry/FilledRectangle.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/geometry/Rectangle.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/geometry/Shape.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/geometry/Shape.txt A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/geometry/Square.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/geometry/Square.txt A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17/geometry/TransparentRectangle.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17p/DealingWithNull.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17p/DealingWithNull.txt A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17p/EnhancedTypeCheckingSwitch.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17p/EnhancedTypeCheckingSwitch.txt A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17p/GuardedAndParenthesizedPatterns.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17p/GuardedAndParenthesizedPatterns.txt A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17p/PatternsInSwitchLabels.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17p/PatternsInSwitchLabels.txt A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17p/ScopeOfPatternVariableDeclarations.java A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java17p/ScopeOfPatternVariableDeclarations.txt M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/cpd/testdata/ignoreLiterals.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/cpd/testdata/ignoreSpecialAnnotations.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/cpd/testdata/ignoreSpecialAnnotations.txt M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/cpd/testdata/ignoreSpecialAnnotations_ignore_annots.txt M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/cpd/testdata/tabWidth.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/cpd/testdata/tabWidth.txt A pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/PrimitiveWrapperInstantiation.xml 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/UseCollectionIsEmpty.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/bestpractices/xml/UseTryWithResources.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/MethodNamingConventions.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/codestyle/xml/UnnecessaryBoxing.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/performance/xml/AvoidArrayLoops.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/performance/xml/AvoidCalendarDateCreation.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/performance/xml/AvoidInstantiatingObjectsInLoops.xml M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/performance/xml/InefficientStringBuffering.xml A pmd-xml/src/test/java/net/sourceforge/pmd/lang/xml/XmlCliTest.java A pmd-xml/src/test/resources/net/sourceforge/pmd/lang/xml/cli-tests/sampleproject/ruleset.xml A pmd-xml/src/test/resources/net/sourceforge/pmd/lang/xml/cli-tests/sampleproject/src/file1.ext A pmd-xml/src/test/resources/net/sourceforge/pmd/lang/xml/cli-tests/sampleproject/src/file2.ext A pmd-xml/src/test/resources/net/sourceforge/pmd/lang/xml/cli-tests/sampleproject/src/file3.txt A pmd-xml/src/test/resources/net/sourceforge/pmd/lang/xml/cli-tests/sampleproject/src/file4.ext M pom.xml Log Message: ----------- Merge branch '7.0.x' into pr/3418 Commit: 2242badb92680212f3d28a11b565ba168aa51c56 https://github.com/pmd/pmd/commit/2242badb92680212f3d28a11b565ba168aa51c56 Author: Clément Fournier <clement.fournie...@gmail.com> Date: 2021-08-07 (Sat, 07 Aug 2021) Changed paths: M .ci/files/all-java.xml M docs/pages/7_0_0_release_notes.md M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationRule.java M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/rule/performance/UnnecessaryWrapperObjectCreationTest.java M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/performance/xml/UnnecessaryWrapperObjectCreation.xml Log Message: ----------- Merge branch 'pr/3418' into 7.0.x Compare: https://github.com/pmd/pmd/compare/ce7ce025e4cd...2242badb9268 _______________________________________________ Pmd-commits mailing list Pmd-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmd-commits