446 Commits

Author SHA1 Message Date
Clément Fournier
124bf950df Merge branch '7.0.x' into pr/3663 2022-01-26 19:46:00 +01:00
Clément Fournier
0fb4e08171 Cleanup 2022-01-15 17:13:03 +01:00
Clément Fournier
658b5bd595 Merge branch 'pr/3730' into 7.0.x 2022-01-15 17:12:14 +01:00
Clément Fournier
5be7994e5c Merge branch '7.0.x' into pr/3735 2022-01-15 17:11:22 +01:00
Clément Fournier
cef71db8b6 Merge branch '7.0.x' into pr/3738 2022-01-15 17:10:51 +01:00
Clément Fournier
94522503d8 Merge branch '7.0.x' into pr/3737 2022-01-15 17:10:38 +01:00
Clément Fournier
91b1497184 Merge branch '7.0.x' into pr/3736 2022-01-15 17:10:27 +01:00
Clément Fournier
c131823471 Merge branch '7.0.x' into pr/3733 2022-01-15 17:10:13 +01:00
Clément Fournier
4058da180c Merge branch '7.0.x' into pr/3730 2022-01-15 17:09:57 +01:00
Andreas Dangel
2a94279874 [java] Update rule FinalParameterInAbstractMethod 2022-01-14 18:36:31 +01:00
Andreas Dangel
562a7d25c4 [java] Update rule AvoidDeeplyNestedIfStmts 2022-01-14 18:26:12 +01:00
Andreas Dangel
8f0f0ce755 [java] Update rule AvoidThrowingNewInstanceOfSameException 2022-01-14 18:19:48 +01:00
Andreas Dangel
fca93a29c9 [java] Update rule AvoidThrowingRawExceptionTypes 2022-01-14 17:00:13 +01:00
Andreas Dangel
4e9659b392 [java] Update rule LoosePackageCoupling 2022-01-14 16:32:45 +01:00
Andreas Dangel
5648d6c3a2 Merge branch 'pmd/7.0.x' into pmd7-update-AvoidDuplicateLiterals 2022-01-14 10:13:38 +01:00
Andreas Dangel
3627167efa [java] Update rules TooManyMethods and TooManyFields
TooManyRules is now a XPath rule as well
2022-01-14 09:13:37 +01:00
Andreas Dangel
433037d822 [java] Update rule UseObjectForClearerAPI 2022-01-14 08:51:37 +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
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
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
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
Clément Fournier
7fcc1c8850 Merge branch '7.0.x' into pr/3649 2022-01-04 17:01:26 +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
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
3979ae6a77 Merge branch '7.0.x' into pr/3659 2021-12-31 16:27:57 +01:00
Clément Fournier
4498b652fa Merge branch '7.0.x' into pr/3658 2021-12-31 16:07:48 +01:00
Clément Fournier
9a29b1cf96 Merge branch 'pmd/7.0.x' into pmd7-update-DoNotExtendJavaLangThrowable 2021-12-31 15:55:59 +01:00
Clément Fournier
9f6a36bd41 Merge branch '7.0.x' into pr/3655 2021-12-31 15:33:07 +01:00
Clément Fournier
793572a1e7 Merge branch '7.0.x' into pr/3653 2021-12-31 15:23:14 +01:00
Clément Fournier
8aa3704af4 Merge branch '7.0.x' into pr/3652 2021-12-31 15:20:51 +01:00
Andreas Dangel
5bdd5cd1be [java] Update rule AvoidCallingFinalize
Converted the rule to XPath
2021-11-30 11:57:04 +01:00
Andreas Dangel
de043eba39 [java] Update rule AvoidCatchingNPE 2021-11-30 11:38:59 +01:00
Andreas Dangel
3679b4e8af [java] Update rule AvoidDuplicateLiterals 2021-11-30 11:30:29 +01:00
Andreas Dangel
ae81189fae [java] Update rules AvoidFieldNameMatching{Method,Type}Name
Converted both rules to XPath
2021-11-30 11:09:03 +01:00
Andreas Dangel
3d077b2d1b [java] Update rule AvoidLiteralsInIfCondition 2021-11-30 10:52:10 +01:00
Andreas Dangel
71ffd62abc [java] Update rule AvoidLosingExceptionInformation 2021-11-30 10:18:11 +01:00
Andreas Dangel
fa02e9dc2a [java] Update rule BeanMembersShouldSerialize
* JavaRuleUtil::isGetter now only accepts "is"-Prefixed getters
  for boolean methods.
* AbstractLombokAwareRule has been deleted
* One test case has been deleted - it tested that the rule
  worked without a auxclasspath
* Another test case has been ignored - in order to resolve
  imports on demand, lombok would need to be on the test aux classpath
2021-11-30 10:04:59 +01:00
Andreas Dangel
f3625abff3 [java] Update rules CallSuperFirst and CallSuperLast 2021-11-30 09:07:35 +01:00
Andreas Dangel
9425684882 [java] Update rule DetachedTestCase 2021-11-29 10:09:28 +01:00
Andreas Dangel
ac4afff2fd [java] Update rule DoNotExtendJavaLangThrowable
Use typeresolution
2021-11-29 09:57:22 +01:00
Andreas Dangel
9a1908c0a2 [java] Update rule DoNotHardCodeSDCard 2021-11-29 09:52:20 +01:00