f981445f8f
Fix last bug
2022-02-11 21:41:34 +01:00
c5f4f3cd49
Fix #3697 - lookahead error in concise resource spec
2022-02-11 21:27:23 +01:00
dc19597020
[maven-release-plugin] prepare for next development iteration
2022-01-29 09:53:38 +01:00
391c32589f
[maven-release-plugin] prepare release pmd_releases/6.42.0
2022-01-29 09:53:32 +01:00
c0c2c76e49
Merge pull request #3722 from adangel:issue-3721-returnemptycollection
...
[java] Fix #3721 ReturnEmptyCollectionRatherThanNull false positive with
lambdas #3722
* pr-3722:
Revert "dogfood - suppress ReturnEmptyCollectionRatherThanNull"
[java] ReturnEmptyCollectionRatherThanNull - fix false positive for
lambdas
2022-01-20 15:27:06 +01:00
6558167ec1
Merge pull request #3674 from adangel:issue-3639-usestringbufferlength
...
[java] UseStringBufferLength: false negative with empty string variable
#3674
* pr-3674:
[java] UseStringBufferLength: false negative with empty string
variable
2022-01-20 15:25:16 +01:00
3b8f87a38c
Merge pull request #3745 from gredler:pmd-3712
...
[java] Fix #3712 : InsufficientStringBufferDeclaration setLength false
positive #3745
* pr-3745:
[doc] Update release notes (#3712 , #3745 )
Fix #3712 : InsufficientStringBufferDeclaration false positive with
StringBuilder.setLength(0)
2022-01-20 15:23:31 +01:00
a4bef55362
Merge pull request #3727 from dykov:hotfix/3679
...
[java] #3724 - fix FinalFieldCouldBeStatic: triggers only if the
referenced name is static #3727
* pr-3727:
[doc] Update release notes (#3727 )
#3724 - fix FinalFieldCouldBeStatic: triggers only if the referenced
name is static
2022-01-20 15:19:01 +01:00
eadc469c39
Merge pull request #3667 from adangel:issue-3644-invalidlogmessageformat
...
[java] InvalidLogMessageFormat - fix false positive with logstash #3667
* pr-3667:
Use Set instead of array
[java] InvalidLogMessageFormat - fix false positive with logstash
2022-01-20 10:58:32 +01:00
f37a99d651
Fix #3712 : InsufficientStringBufferDeclaration false positive with StringBuilder.setLength(0)
2022-01-19 20:37:14 -05:00
19529542db
Merge pull request #3740 from oowekyala:issue3698-symtable
...
[java] Fix #3698 - Error resolving Symbol Table #3740
* pr-3740:
[doc] Update release notes (#3698 )
Fix #3698 - Error resolving Symbol Table
2022-01-17 19:08:13 +01:00
d49014c861
Merge pull request #3742 from dykov:hotfix/3701
...
[java] Fix #3701 - fix MissingStaticMethodInNonInstantiatableClass for
method local classes #3742
* pr-3742:
[doc] Update release notes (#3701 , #3742 )
#3701 - fix MissingStaticMethodInNonInstantiatableClass for method
local classes
2022-01-17 19:05:59 +01:00
922ef7cbd4
More code style changes for varargs ( #3744 )
2022-01-17 18:51:18 +01:00
420505a344
#3701 - fix MissingStaticMethodInNonInstantiatableClass for method local classes
2022-01-16 00:40:19 +02:00
f838b183bf
Fix #3698 - Error resolving Symbol Table
2022-01-15 15:50:46 +01:00
223c8c4f02
#3724 - fix FinalFieldCouldBeStatic: triggers only if the referenced name is static
2022-01-13 22:14:45 +02:00
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
8bd9032b8b
#3679 - fix FinalFieldCouldBeStatic
2022-01-12 21:55:02 +02:00
ff2dfedf3c
[java] ReturnEmptyCollectionRatherThanNull - fix false positive for
...
lambdas
Fixes #3721
2022-01-10 18:21:20 +01:00
f38e99c65e
dogfood - suppress ReturnEmptyCollectionRatherThanNull
2022-01-09 21:29:09 +01:00
0f1e88c07d
Merge branch 'master' into pr-3704
2022-01-09 19:39:28 +01:00
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
d867654676
Merge branch 'master' into issue-3644-invalidlogmessageformat
2022-01-09 19:30:46 +01:00
93c9871a84
Use Set instead of array
2022-01-09 19:30:12 +01:00
ba44f3116a
Fix file name
2022-01-06 17:31:21 +01:00
59422ffb55
Fix test class name
2022-01-06 17:30:57 +01:00
31d39c935e
Fix FinalParameterInAbstractMethod.externalInfoUrl
2022-01-06 09:12:11 +01:00
b1c22db14a
Rename to FinalParameterInAbstractMethod and target all methods
2022-01-06 09:04:37 +01:00
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
aa6a652dc9
Create ASTRecordDeclaration#isSyntacticallyFinal
2022-01-05 11:15:09 +01:00
f08a3b5cf2
Upgrade log4j to 2.17.1
2022-01-04 19:18:48 -07:00
ee763ee3d7
Check records are not declare with final modifier
2022-01-04 17:24:24 +01:00
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
3eb6eab02d
Fix testcase
2021-12-28 20:44:53 +02:00
8615a8e300
Fix ReturnEmptyCollectionRatherThanNull
2021-12-28 20:10:57 +02:00
1597ef3900
Bump log4j to 2.17.0
2021-12-20 10:07:03 +01:00
9c6591381d
[java] UnusedPrivateMethod: Add test case for #3209
2021-12-17 09:52:58 +01:00
a72c9f66f5
Merge branch 'master' into pr-3683
2021-12-16 20:33:02 +01:00
2f95d99b35
[java] Improve symboltable for inner classes
2021-12-16 20:30:44 +01:00
76ccefa0f2
Bump log4j to 2.16.0
...
Update log4 to harden defaults.
Based on CVE-2021-45046 the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations.
for more details CVE-2021-45046 (https://nvd.nist.gov/vuln/detail/CVE-2021-45046 )
2021-12-15 12:08:51 +01:00
ae04e0a4b5
Bump log4j2 from 2.13.3 to 2.15.0
2021-12-13 19:02:07 +01:00
8df5768bc9
Fixed 3468 unused private method call on inner class
2021-12-10 15:20:50 -06:00
8f68e3e1cb
[java] MissingOverride - backport test case ( #3675 )
2021-12-03 20:31:02 +01:00
e801bb6525
[java] MethodNameDeclaration.isPrimitiveReturnType() - check for void
2021-12-03 15:59:21 +01:00
d70761fe17
[java] UseStringBufferLength: false negative with empty string variable
...
* Fixes #3639
2021-12-03 15:00:30 +01:00
5fdceb514d
Merge branch 'master' into 3492-usvo-fp-no-initial-string
2021-12-02 16:03:08 -06:00
6fb8fb57e7
Checked for method primitive return type
2021-12-02 15:52:30 -06:00
033e817ed6
[java] LooseCoupling - backport test case ( #3672 )
2021-12-02 16:56:24 +01:00
2d3e9d2f37
[java] Backport test cases ( #3668 , #3671 )
2021-12-02 16:29:14 +01:00
e1387951bd
[java] ClassWithOnlyPrivateConstructorsShouldBeFinal - add test case
...
from #3668
2021-12-01 12:33:55 +01:00