|
ec27419235
|
[java] Fix NPE in UseTryWithResources
|
2021-07-10 10:46:31 +02:00 |
|
|
f8f6391eb6
|
[java] UseTryWithResources false positive with not local vars
when closeable is provided as a method argument or class field
Fixes #3235
|
2021-07-08 15:06:52 +02:00 |
|
|
6266b1ce03
|
[java] Reimplement UseTryWithResources as Java rule
|
2021-07-08 12:26:50 +02:00 |
|
|
f68bf5ce05
|
[maven-release-plugin] prepare for next development iteration
|
2021-06-26 10:24:15 +02:00 |
|
|
45d1605a03
|
[maven-release-plugin] prepare release pmd_releases/6.36.0
|
2021-06-26 10:24:07 +02:00 |
|
|
c1fa5f8cce
|
Fix test
|
2021-06-25 19:17:41 +02:00 |
|
|
6599fe2d32
|
Merge branch 'master' into issue3076-unusedAssignment-plusplus
|
2021-06-24 15:17:32 +02:00 |
|
|
7260e8806c
|
Merge pull request #3347 from adangel:issue-3340-guardlogstatement
[java] NullPointerException applying rule GuardLogStatement #3347
|
2021-06-24 14:42:53 +02:00 |
|
|
1e1fcf5c8b
|
Merge pull request #3348 from oowekyala:issue3305-ioob-record
[java] Fix #3305 - ConstructorCallsOverridableMethod NPE with records
#3348
|
2021-06-24 14:39:46 +02:00 |
|
|
5dd45d09f0
|
Merge pull request #3345 from
adangel:issue-3331-use-arrays-as-list-foreach
[java] UseArraysAsList false negative with for-each loop #3345
|
2021-06-24 11:37:08 +02:00 |
|
|
6b29f89349
|
Merge pull request #3344 from adangel:inefficient-empty-string-check-fn
[java] InefficientEmptyStringCheck FN with trim.length on method call
#3344
|
2021-06-24 11:35:58 +02:00 |
|
|
5115aee17f
|
Merge pull request #3343 from adangel:clone-method-must-implement-cloneable-fn
[java] CloneMethodMustImplementCloneable: FN with local classes #3343
|
2021-06-24 11:34:11 +02:00 |
|
|
36a49b2c65
|
Merge pull request #3339 from ajeans:issue-1455-modern-assertions
[java] JUnitTestsShouldIncludeAssert Tweak assertion definition to avoid
false positive with modern JUnit5 #3339
|
2021-06-24 11:33:40 +02:00 |
|
|
47e88d9cff
|
Merge pull request #3337 from adangel:issue-3315-literalsfirst
[java] LiteralsFirstInComparisons false positive with two constants
#3337
|
2021-06-24 11:30:16 +02:00 |
|
|
63f2066383
|
Merge pull request #3291 from adangel:issue-3114-unusedassignment
[java] UnusedAssignment false positive when reporting unused variables
#3291
|
2021-06-24 09:16:48 +02:00 |
|
|
6b910572a5
|
Merge pull request #3286 from adangel:issue-957-guardlogstatement
[java] GuardLogStatement: False positive with compile-time constant
arguments #3286
|
2021-06-24 09:14:05 +02:00 |
|
|
a20d68bbc1
|
Merge pull request #3285 from adangel:issue-3284-invalidlogmessageformat
[java] InvalidLogMessageFormat may examine the value of a different but
identically named String variable #3285
|
2021-06-24 09:12:12 +02:00 |
|
|
f84cd0e36d
|
Fix #3076 - UnusedAssignment false positive in for-each assignment
|
2021-06-23 23:53:46 +02:00 |
|
|
b71c1cf92e
|
Test case for #3303
|
2021-06-23 23:36:44 +02:00 |
|
|
26c0b48bc4
|
Fix #3305 - NPE with records
|
2021-06-21 14:38:50 +02:00 |
|
|
b24e2edd25
|
[java] NullPointerException applying rule GuardLogStatement
Fixes #3340
|
2021-06-18 15:57:34 +02:00 |
|
|
beb2896e08
|
[java] LiteralsFirstInComparison - fix FP with non-string arguments
|
2021-06-18 15:15:21 +02:00 |
|
|
63971f0fb8
|
[java] UseArraysAsList false negative with for-each loop
Fixes #3331
|
2021-06-18 08:51:28 +02:00 |
|
|
528e8cf538
|
[java] InefficientEmptyStringCheck FN with trim.length on method call
|
2021-06-17 17:25:33 +02:00 |
|
|
aed6970704
|
[doc] Update release notes (#3343)
|
2021-06-17 16:24:50 +02:00 |
|
|
f89478125a
|
[java] CloneMethodMustImplementCloneable: FN with local classes
|
2021-06-17 16:16:02 +02:00 |
|
|
985926d81f
|
Add Unit Test for Jupiter Assertions
|
2021-06-16 16:32:47 +02:00 |
|
|
065da32b19
|
Tweak assertion definition to avoid false positive with modern JUnit5 / AssertJ
|
2021-06-14 20:21:39 +02:00 |
|
|
b739c0ef04
|
[java] LiteralsFirstInComparisons false positive with two constants
Fixes #3315
|
2021-06-11 20:17:02 +02:00 |
|
|
9b187ffc03
|
[java] Remove old tests for BadComparison
|
2021-06-10 17:04:25 +02:00 |
|
|
f00b63f8fd
|
[java] Fix rule references
|
2021-06-10 17:01:04 +02:00 |
|
|
567fbaacba
|
[java] Rename rule BadComparison -> ComparisonWithNaN
|
2021-06-10 16:52:08 +02:00 |
|
|
ce5130577e
|
Merge branch 'master' into pr-3312
|
2021-06-10 16:45:02 +02:00 |
|
|
57bc8f4367
|
Merge pull request #3317 from pzygielo:@exception
[java] Update UnnecessaryImport to recognize usage of imported types in
javadoc's @exception tag #3317
|
2021-06-10 15:22:14 +02:00 |
|
|
7c1edb2031
|
Merge branch 'master' into pr-3306
|
2021-06-10 15:02:35 +02:00 |
|
|
30f046d6f9
|
[java] Add test case for cognitive complexity rule
|
2021-06-10 12:29:47 +02:00 |
|
|
8359e07c3a
|
Fix incorrect increment for "else if" branch in docs
|
2021-06-01 10:07:52 +01:00 |
|
|
fc0813535b
|
Add pattern to recognize @exception in javadoc
|
2021-05-30 13:41:53 +02:00 |
|
|
39f8a1a48a
|
Add test case for @exception in javadoc
|
2021-05-29 12:49:28 +02:00 |
|
|
9fdfecf731
|
[maven-release-plugin] prepare for next development iteration
|
2021-05-29 07:24:47 +02:00 |
|
|
b49fb2014d
|
[maven-release-plugin] prepare release pmd_releases/6.35.0
|
2021-05-29 07:24:39 +02:00 |
|
|
5cd42716fd
|
Make new rule ComparisonWithNaN to replace BadComparison
|
2021-05-28 16:57:45 +02:00 |
|
|
2b126e3236
|
Reference new rule CognitiveComplexity
|
2021-05-28 16:56:13 +02:00 |
|
|
836f77e950
|
Merge branch 'master' into pr/3277
|
2021-05-28 13:00:52 +02:00 |
|
|
6e4a0ef7b0
|
Fix cdata in rule description
refs #3293
|
2021-05-28 12:43:15 +02:00 |
|
|
eb8e7c2756
|
Add a bit of doc
|
2021-05-28 12:23:03 +02:00 |
|
|
f06fd8e807
|
Merge branch 'master' into pr/3293
|
2021-05-28 12:15:58 +02:00 |
|
|
fa65ac9f00
|
Update pmd-java/src/main/resources/category/java/design.xml
Co-authored-by: Andreas Dangel <andreas.dangel@adangel.org>
|
2021-05-27 22:37:02 +01:00 |
|
|
b3cffd600b
|
Merge branch 'master' into
issue-1438-insufficientstringbufferdeclaration
|
2021-05-27 18:41:04 +02:00 |
|
|
7a4b0d210d
|
Merge branch 'master' into pr-3260
|
2021-05-27 09:59:45 +02:00 |
|