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
Andreas Dangel
d66d8828ab
[java] Update rule DoNotThrowExceptionInFinally
2021-11-29 09:45:19 +01:00
Andreas Dangel
dd8b25802d
[java] Update rule MethodWithSameNameAsEnclosingClass
...
Converted the rule into a simle XPath rule
2021-11-29 09:37:27 +01:00
Andreas Dangel
96936354ce
[java] Update rule MoreThanOneLogger
2021-11-29 09:30:52 +01:00
Andreas Dangel
fd5457d554
[java] Update rule NullAssignment
2021-11-29 09:22:44 +01:00
Andreas Dangel
f36b99fbd7
Merge branch 'master' into pmd/7.0.x
2021-11-27 12:17:22 +01:00
Andreas Dangel
bad17fe6eb
[ci] Add --sparse option when publishing documentation
...
This is needed since git 2.34.0
See https://github.com/git/git/blob/master/Documentation/RelNotes/2.34.0.txt
2021-11-27 12:04:18 +01:00
Andreas Dangel
6e63a15c94
Merge branch 'master' into pmd/7.0.x
2021-11-26 11:03:17 +01:00
Andreas Dangel
b77b74e6aa
Merge pull request #3609 from adangel:pmd7-update-PrimitiveWrapperInstantiation
...
[java] Update rule PrimitiveWrapperInstantiation #3609
* pr-3609:
[java] PrimitiveWrapperInstantiation - reuse InvocationMatcher
Bump build-tools to 18-SNAPSHOT for ReuseInvocationMatcher rule
[java] Update rule PrimitiveWrapperInstantiation
2021-11-26 08:39:15 +01:00
Andreas Dangel
9a1b5550ab
Merge branch 'pmd/7.0.x' into pmd7-update-LogicInversion
2021-11-25 21:37:02 +01:00
Andreas Dangel
4bd4211826
Merge branch 'pmd/7.0.x' into pmd7-update-PrimitiveWrapperInstantiation
2021-11-25 21:35:37 +01:00
Andreas Dangel
2c2ffaa834
[ci] Exclude checkstyle's InputJavaParserNoFreezeOnDeeplyNestedLambdas
2021-11-25 16:58:08 +01:00
Andreas Dangel
482e83c15c
Merge branch 'pmd/7.0.x' into pmd7-update-PrimitiveWrapperInstantiation
2021-11-25 12:48:17 +01:00
Andreas Dangel
822a67c663
Merge pull request #3611 from adangel:pmd7-update-ProperLogger
...
[java] Update rule ProperLogger #3611
* pr-3611:
[java] Update rule ProperLogger
2021-11-25 12:07:32 +01:00
Andreas Dangel
abe9083da8
Merge pull request #3610 from adangel:pmd7-update-SimpleDateFormatNeedsLocale
...
[java] Update rule SimpleDateFormatNeedsLocale #3610
* pr-3610:
[java] Update rule SimpleDateFormatNeedsLocale
2021-11-25 12:06:53 +01:00
Andreas Dangel
f16e0d72c2
Merge pull request #3608 from adangel:pmd7-update-FinalFieldCouldBeStatic
...
[java] Update rule FinalFieldCouldBeStatic #3608
* pr-3608:
[java] Update rule FinalFieldCouldBeStatic
2021-11-25 12:06:07 +01:00
Andreas Dangel
a9c3c019fe
Merge branch 'master' into pmd/7.0.x
2021-11-25 11:50:31 +01:00
Andreas Dangel
eb24a20460
Merge branch 'master' into java17-integration-test
2021-11-25 10:19:13 +01:00
Andreas Dangel
47938e674d
Bump build-tools from 17-SNAPSHOT to 17
2021-11-25 10:08:30 +01:00
Andreas Dangel
769639f3b6
[ci] Upgrade spring-framework test project to v5.3.13
2021-11-19 10:43:38 +01:00
Andreas Dangel
cb8158cd90
[ci] Upgrade checkstyle test project to version 9.1
2021-11-19 08:50:31 +01:00
Andreas Dangel
d7774be75e
[dist] Add java17, make ant test fail
2021-11-18 11:10:53 +01:00
Andreas Dangel
31915ac3e5
Merge pull request #3599 from adangel:pmd7-update-UselessOverridingMethod
...
[java] Update rule UselessOverridingMethod #3599
* pr-3599:
[java] UselessOverridingMethod - fix false positive with overloads
[java] Update rule UselessOverridingMethod
2021-11-12 08:46:53 +01:00
Andreas Dangel
641c969f7c
Merge pull request #3598 from adangel:pmd7-update-AssignmentToNonFinalStatic
...
[java] Update rule AssignmentToNonFinalStatic #3598
* pr-3598:
[java] AssignmentToNonFinalStatic - improve message
[java] AssignmentToNonFinalStatic - fix false positives
[java] Update rule AssignmentToNonFinalStatic
2021-11-12 08:46:14 +01:00
Andreas Dangel
6e9343d8c1
Merge pull request #3592 from adangel:pmd7-update-AvoidBranchingStatementAsLastInLoop
...
[java] Update rule AvoidBranchingStatementAsLastInLoop #3592
* pr-3592:
[java] AvoidBranchingStatementAsLastInLoop - support for-each, fix false positives
[java] Update rule AvoidBranchingStatementAsLastInLoop
2021-11-12 08:45:22 +01:00
Andreas Dangel
093742d57a
Merge pull request #3550 from adangel:pmd7-update-CloseResource
...
[java] Update rule CloseResource #3550
* pr-3550:
[java] CloseResource: fix false positive and negative
[java] Fix type res if generic type are provided for a non generic
[java] CloseResource - fix various false positives/false negatives
[java] CloseResource: fix NPE with null literal
[java] Update rule CloseResource
2021-11-12 08:44:11 +01:00
Andreas Dangel
3983e1d839
[java] Update rule ProperLogger
2021-11-11 17:23:49 +01:00
Andreas Dangel
74ace9c734
[java] Update rule SimpleDateFormatNeedsLocale
2021-11-11 16:36:55 +01:00
Andreas Dangel
a456e434fb
[java] Update rule PrimitiveWrapperInstantiation
2021-11-11 16:27:56 +01:00
Andreas Dangel
e15d4cc585
[java] Update rule FinalFieldCouldBeStatic
2021-11-11 16:01:06 +01:00
Andreas Dangel
12b047bb95
[java] Update rule LogicInversion
2021-11-11 15:42:27 +01:00
Andreas Dangel
149d8ebde4
Merge pull request #3591 from adangel:pmd7-update-AvoidInstanceofChecksInCatchClause
...
[java] Update rule AvoidInstanceofChecksInCatchClause #3591
* pr-3591:
[java] Update rule AvoidInstanceofChecksInCatchClause
2021-11-09 20:05:42 +01:00
Andreas Dangel
1b38a0b757
Merge pull request #3556 from
...
adangel:pmd7-update-ClassCastExceptionWithToArray
[java] Update rule ClassCastExceptionWithToArray #3556
* pr-3556:
[java] Update rule ClassCastExceptionWithToArray
2021-11-09 20:03:53 +01:00
Andreas Dangel
bb689ad580
Merge pull request #3537 from adangel:pmd7-update-MissingStaticMethodInNonInstantiatableClass
...
[java] Update rule MissingStaticMethodInNonInstantiatableClass #3537
* pr-3537:
[java] Update rule MissingStaticMethodInNonInstantiatableClass
2021-11-09 20:01:45 +01:00
Andreas Dangel
594e4d60c9
Merge branch 'pmd/7.0.x' into pmd7-update-CloseResource
2021-11-06 18:27:25 +01:00
Andreas Dangel
97048aa436
[java] Update rule UselessOverridingMethod
2021-11-02 18:41:22 +01:00
Andreas Dangel
54848555d2
[java] Update rule AssignmentToNonFinalStatic
2021-10-29 15:38:33 +02:00
Andreas Dangel
0c0f124c40
[java] Update rule AvoidBranchingStatementAsLastInLoop
2021-10-28 15:58:43 +02:00
Andreas Dangel
9a16964259
[java] Update rule AvoidInstanceofChecksInCatchClause
2021-10-28 15:35:16 +02:00
Clément Fournier
7c11faaff4
Merge branch '7.0.x' into pr/3531
2021-10-25 17:53:07 +02:00
Clément Fournier
a94616e626
Merge branch '7.0.x' into pr/3546
2021-10-25 17:51:50 +02:00
Andreas Dangel
9d4b918fe2
Merge branch 'pmd/7.0.x' into pmd7-update-JumbledIncrementer
2021-10-19 19:00:10 +02:00
Andreas Dangel
abd485b83e
Merge branch 'pmd/7.0.x' into pmd7-update-MisplacedNullCheck
2021-10-18 19:07:27 +02:00
Andreas Dangel
f9a012a8de
Merge branch 'master' into pmd/7.0.x
2021-10-16 10:40:02 +02:00
Andreas Dangel
0dd1e39027
Merge pull request #3553 from adangel:pmd7-update-CloneMethodMustBePublic
...
[java] Update rule CloneMethodMustBePublic #3553
2021-10-16 10:05:18 +02:00
Andreas Dangel
3cfab917e5
Merge pull request #3552 from adangel:pmd7-update-CloneMethodReturnTypeMustMatchClassName
...
[java] Update rule CloneMethodReturnTypeMustMatchClassName #3552
2021-10-16 10:04:38 +02:00
Andreas Dangel
f1617884aa
Merge pull request #3548 from adangel:pmd7-update-DoNotCallGarbageCollectionExplicitly
...
[java] Update rule DoNotCallGarbageCollectionExplicitly #3548
2021-10-16 10:03:59 +02:00
Andreas Dangel
948e3bba74
Merge pull request #3547 from adangel:pmd7-update-DontUseFloatTypeForLoopIndices
...
[java] Update rule DontUseFloatTypeForLoopIndices #3547
2021-10-16 10:03:11 +02:00
Andreas Dangel
db8fe733d0
Merge pull request #3536 from adangel:pmd7-update-NonCaseLabelInSwitchStatement
...
[java] Update rule NonCaseLabelInSwitchStatement #3536
2021-10-16 10:02:31 +02:00