Commit Graph
6587 Commits
Author SHA1 Message Date
Andreas Dangel 8f0f0ce755 [java] Update rule AvoidThrowingNewInstanceOfSameException 2022-01-14 18:19:48 +01:00
Andreas Dangel e273ca641f Merge pull request #3715 from oowekyala:update-AvoidCatchingGenericException
[java] Update rule AvoidCatchingGenericException #3715

* pr-3715:
  [java] AvoidCatchingGenericException - consider multi-catch
  Update rule AvoidCatchingGenericException
2022-01-14 08:32:52 +01:00
Andreas Dangel 0bf76602fb Merge pull request #3660 from
adangel:pmd7-update-AvoidLosingExceptionInformation


[java] Update rule AvoidLosingExceptionInformation #3660

* pr-3660:
  [java] Update rule AvoidLosingExceptionInformation
2022-01-14 08:31:54 +01:00
Andreas Dangel d2e3780c04 [java] AvoidCatchingGenericException - consider multi-catch 2022-01-13 19:08:39 +01:00
Andreas Dangel 3927046ada Merge branch 'pmd/7.0.x' into pr-3715 2022-01-13 19:03:47 +01:00
Andreas Dangel 393f26e6cd Merge pull request #3717 from oowekyala:update-SimplifiableTestAssertion
[java] Update rule SimplifiableTestAssertion #3717

* pr-3717:
  Update SimplifiableTestAssertion
2022-01-13 18:58:54 +01:00
Andreas Dangel 54127c281f Merge branch 'master' into pmd/7.0.x 2022-01-13 18:53:09 +01:00
Andreas Dangel e4771c7687 Merge pull request #3720 from
vgalloy:FinalInterfaceMethodParameterIsUnclear

[java] New rule: FinalParameterInAbstractMethod #3720

* pr-3720:
  [doc] Update release notes (#3720)
  Fix file name
  Fix test class name
  Fix FinalParameterInAbstractMethod.externalInfoUrl
  Rename to FinalParameterInAbstractMethod and target all methods
  [java] New rule: FinalInterfaceMethodParameterIsUnclear
2022-01-13 18:18:41 +01:00
Oleksii Dykov 8bd9032b8b #3679 - fix FinalFieldCouldBeStatic 2022-01-12 21:55:02 +02:00
Andreas Dangel a77c7234b9 Merge pull request #3651 from adangel:pmd7-update-MethodWithSameNameAsEnclosingClass
[java] Update rule MethodWithSameNameAsEnclosingClass #3651

* pr-3651:
  Change message of MethodWithSameNameAsEnclosingClass
  [java] Update rule MethodWithSameNameAsEnclosingClass
2022-01-11 17:35:48 +01:00
Andreas Dangel f38e99c65e dogfood - suppress ReturnEmptyCollectionRatherThanNull 2022-01-09 21:29:09 +01:00
Andreas Dangel 0c56fef887 Merge branch 'master' into pmd/7.0.x 2022-01-09 20:22:36 +01:00
Andreas Dangel 0f1e88c07d Merge branch 'master' into pr-3704 2022-01-09 19:39:28 +01:00
Andreas Dangel 7a6893afee Merge pull request #3719 from squaresurf:upgrade-log4j
[java] Upgrade log4j to 2.17.1 #3719

* pr-3719:
  Add @squaresurf as a contributor
  [doc] Update release notes
  Upgrade log4j to 2.17.1
2022-01-09 19:37:17 +01:00
Vincent Galloy ba44f3116a Fix file name 2022-01-06 17:31:21 +01:00
Vincent Galloy 59422ffb55 Fix test class name 2022-01-06 17:30:57 +01:00
Vincent Galloy 31d39c935e Fix FinalParameterInAbstractMethod.externalInfoUrl 2022-01-06 09:12:11 +01:00
Vincent Galloy b1c22db14a Rename to FinalParameterInAbstractMethod and target all methods 2022-01-06 09:04:37 +01:00
Vincent Galloy 70eac686e4 [java] New rule: FinalInterfaceMethodParameterIsUnclear
Add the rule to check that public method in interface do not use final qualifier which is unclear
2022-01-05 18:21:50 +01:00
Clément Fournier 9a6ee67caa Merge branch 'master' into 7.0.x 2022-01-05 13:50:04 +01:00
Vincent Galloy aa6a652dc9 Create ASTRecordDeclaration#isSyntacticallyFinal 2022-01-05 11:15:09 +01:00
Daniel Paul Searles f08a3b5cf2 Upgrade log4j to 2.17.1 2022-01-04 19:18:48 -07:00
Clément Fournier 9e778c8c58 Merge branch '7.0.x' into pr/3665 2022-01-05 00:59:26 +01:00
Clément Fournier ef658c76a3 Update rule AvoidCatchingGenericException
Refs #2701
2022-01-05 00:43:32 +01:00
Clément Fournier 0389db2f22 Update SimplifiableTestAssertion 2022-01-05 00:42:34 +01:00
Clément Fournier 162738d3a3 Merge branch '7.0.x' into pr/3659 2022-01-04 23:00:30 +01:00
Vincent Galloy ee763ee3d7 Check records are not declare with final modifier 2022-01-04 17:24:24 +01:00
Clément Fournier 7fcc1c8850 Merge branch '7.0.x' into pr/3649 2022-01-04 17:01:26 +01:00
Clément Fournier d5d57f67f0 Merge branch '7.0.x' into pr/3672 2022-01-04 16:46:09 +01:00
Vincent Galloy b792c14f4d [java] New rule: StaticNestedRecord
Add the rule to check that nested record are not declared with static modifier
2022-01-04 10:41:11 +01:00
Clément Fournier 2a34918ef4 Unignore test for JunitSpelling
has already been updated in #2899
2022-01-04 00:11:23 +01:00
Clément Fournier 2c589136ea Fix bugs of AvoidFieldNameMatchingMethodName - made CI fail 2022-01-03 16:45:42 +01:00
Clément Fournier 6dab734c9b Fix test 2022-01-02 17:20:45 +01:00
Clément Fournier cd0196bc23 Remove dep on AbstractIgnoredAnnotationRule 2022-01-02 17:18:51 +01:00
Clément Fournier 75ccb8513d Merge branch '7.0.x' into pr/3662 2022-01-02 17:14:02 +01:00
Clément Fournier 392912e5d9 Merge branch '7.0.x' into pr/3664 2022-01-02 17:07:35 +01:00
Clément Fournier 7b7b510808 Checkstyle 2022-01-02 17:05:22 +01:00
Clément Fournier 08b9187d09 Update pmd-java/src/main/resources/category/java/errorprone.xml 2022-01-02 17:02:56 +01:00
Clément Fournier c939fbc026 Shorten method 2022-01-02 16:52:02 +01:00
Clément Fournier 13bf901133 Merge branch 'pr/3675' into 7.0.x 2022-01-02 16:48:43 +01:00
Clément Fournier 18a184b774 Doc 2022-01-02 16:11:51 +01:00
Clément Fournier 73702b08e2 Use isSubSignature because we already have checked accessibility 2022-01-02 16:07:58 +01:00
Clément Fournier 679cae5c82 Fix the fix 2022-01-02 16:05:15 +01:00
Clément Fournier d598e43d6f Merge remote-tracking branch 'upstream/pr/3661' into pr/3661 2022-01-02 15:38:56 +01:00
Clément Fournier 0af2424922 Update pmd-java/src/main/resources/category/java/errorprone.xml 2022-01-02 15:38:34 +01:00
Clément Fournier fd1ff06f08 Change rule message, commit useful changes 2022-01-02 15:38:05 +01:00
Clément Fournier 58a7c520d2 Merge branch '7.0.x' into pr/3661 2022-01-02 15:03:35 +01:00
Clément Fournier b0cc4a9a60 Merge branch '7.0.x' into pr/3655 2022-01-02 15:00:02 +01:00
Clément Fournier 3a9173f9f2 Merge branch '7.0.x' into pr/3654 2022-01-02 14:57:03 +01:00
Clément Fournier df15e21640 Cleanups on BeanMembersShouldSerializeRule #3659 2021-12-31 16:30:13 +01:00