18656 Commits

Author SHA1 Message Date
Andreas Dangel
de41d2cdbc
Update package-lock.json 2022-01-29 10:11:55 +01:00
Andreas Dangel
3ce3f1e90a
Update pmd from 6.41.0 to 6.42.0 2022-01-29 10:10:25 +01:00
Andreas Dangel
1d29cdeccb
Prepare next development version [skip ci] 2022-01-29 09:55:16 +01:00
Andreas Dangel
dc19597020
[maven-release-plugin] prepare for next development iteration 2022-01-29 09:53:38 +01:00
Andreas Dangel
391c32589f
[maven-release-plugin] prepare release pmd_releases/6.42.0 pmd_releases/6.42.0 2022-01-29 09:53:32 +01:00
Andreas Dangel
2d6a149659
Prepare pmd release 6.42.0 2022-01-29 09:42:23 +01:00
Andreas Dangel
93811d3449
Merge pull request #3726 from adangel:issue-3328-designer-bat
[core] Handle quotes correctly in designer.bat and other *.bat files
#3726

* pr-3726:
  [core] Handle quotes correctly in designer.bat and other *.bat files
2022-01-27 14:23:40 +01:00
Andreas Dangel
fb913bdc69
Merge pull request from Vyom-Yadav:CS-PMD-FIX-1
[visualforce] Updated DataType.java #3747

* pr-3747:
  [doc] Update release notes (#3747)
  [core] Updated DataType.java
2022-01-24 19:38:34 +01:00
Andreas Dangel
fb5e4dce91
[doc] Update release notes (#3747) 2022-01-24 19:37:54 +01:00
Vyom Yadav
0f01d4686e
[core] Updated DataType.java 2022-01-21 11:23:32 +05:30
Andreas Dangel
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
Andreas Dangel
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
Andreas Dangel
ed611cdfaf
Add @gredler as a contributor 2022-01-20 15:23:54 +01:00
Andreas Dangel
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
Andreas Dangel
869419cb31
[doc] Update release notes (#3712, #3745) 2022-01-20 15:22:32 +01:00
Andreas Dangel
8f7dc0f033
[doc] Fix release notes 2022-01-20 15:20:42 +01:00
Andreas Dangel
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
Andreas Dangel
d857d94ec9
[doc] Update release notes (#3727) 2022-01-20 15:18:02 +01:00
Andreas Dangel
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
Andreas Dangel
803cfad7de
Merge pull request #3725 from adangel:issue-3703-javascript-rhino
[java] Fix #3703 and update Rhino #3725

* pr-3725:
  [javascript] Update Rhino from 1.7.13 to 1.7.14
  [javascript] Add ASTXmlPropRef node
2022-01-20 10:45:03 +01:00
Daniel Gredler
f37a99d651 Fix #3712: InsufficientStringBufferDeclaration false positive with StringBuilder.setLength(0) 2022-01-19 20:37:14 -05:00
Andreas Dangel
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
Andreas Dangel
51212fd55a
[doc] Update release notes (#3698) 2022-01-17 19:07:18 +01:00
Andreas Dangel
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
Andreas Dangel
7688346045
[doc] Update release notes (#3701, #3742) 2022-01-17 19:04:45 +01:00
Andreas Dangel
428efa0306
Merge pull request #3744 from Vyom-Yadav:CS-PMD-FIX
[core] Updated SaxonXPathRuleQueryTest.java #3744

* pr-3744:
  Add @Vyom-Yadav as a contributor
  [doc] Update release notes (#3744)
  More code style changes for varargs (#3744)
  [Misc] Updated SaxonXPathRuleQueryTest.java
2022-01-17 19:02:46 +01:00
Andreas Dangel
3c0694c5de
Add @Vyom-Yadav as a contributor 2022-01-17 19:02:11 +01:00
Andreas Dangel
3f9bfcf95d
[doc] Update release notes (#3744) 2022-01-17 18:58:35 +01:00
Andreas Dangel
922ef7cbd4
More code style changes for varargs (#3744) 2022-01-17 18:51:18 +01:00
Vyom Yadav
ccbb5e016e
[Misc] Updated SaxonXPathRuleQueryTest.java 2022-01-17 20:36:35 +05:30
Oleksii Dykov
420505a344 #3701 - fix MissingStaticMethodInNonInstantiatableClass for method local classes 2022-01-16 00:40:19 +02:00
Clément Fournier
f838b183bf
Fix #3698 - Error resolving Symbol Table 2022-01-15 15:50:46 +01:00
Andreas Dangel
4ae7e40bad
Update maven wrapper 2022-01-14 16:18:21 +01:00
Oleksii Dykov
223c8c4f02 #3724 - fix FinalFieldCouldBeStatic: triggers only if the referenced name is static 2022-01-13 22:14:45 +02: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
Andreas Dangel
4b14c09b4d
[doc] Update release notes (#3720) 2022-01-13 18:17:36 +01:00
Andreas Dangel
7a1d787df8
Merge pull request #3724 from dykov:hotfix/3679
[java] Fix for #3686 - fix FinalFieldCouldBeStatic #3724

* pr-3724:
  [doc] Update release notes (#3679, #3724)
  #3679 - fix FinalFieldCouldBeStatic
2022-01-13 18:08:44 +01:00
Andreas Dangel
a52c62c292
[doc] Update release notes (#3679, #3724) 2022-01-13 18:08:06 +01:00
Andreas Dangel
308173a0fc
[core] Handle quotes correctly in designer.bat and other *.bat files
Fixes #3328
2022-01-13 17:16:07 +01:00
Andreas Dangel
f6c994eb3d
[javascript] Update Rhino from 1.7.13 to 1.7.14
* Add more nodes
* Note: UpdateExpression is now parsed instead of UnaryExpression
  for increments/decrements
2022-01-13 14:38:28 +01:00
Andreas Dangel
cd71c038dd
[javascript] Add ASTXmlPropRef node
Fixes #3703
2022-01-13 13:44:36 +01:00
Oleksii Dykov
8bd9032b8b #3679 - fix FinalFieldCouldBeStatic 2022-01-12 21:55:02 +02:00
Andreas Dangel
1743a3b989
Revert "dogfood - suppress ReturnEmptyCollectionRatherThanNull"
This reverts commit 7173f65a8733aef2e98cf7ade3828e0acaf8c6d8.
2022-01-10 18:21:41 +01:00
Andreas Dangel
ff2dfedf3c
[java] ReturnEmptyCollectionRatherThanNull - fix false positive for
lambdas

Fixes #3721
2022-01-10 18:21:20 +01:00
Andreas Dangel
7173f65a87
dogfood - suppress ReturnEmptyCollectionRatherThanNull 2022-01-10 17:41:42 +01:00
Andreas Dangel
f38e99c65e
dogfood - suppress ReturnEmptyCollectionRatherThanNull 2022-01-09 21:29:09 +01:00
Andreas Dangel
65b4ba58a7
Fix dogfood - ReturnEmptyCollectionRatherThanNull 2022-01-09 20:46:45 +01:00
Andreas Dangel
964083319e
Merge pull request #3704 from dykov:hotfix/3686
[java] Fix for #3686 - Fix ReturnEmptyCollectionRatherThanNull #3704

* pr-3704:
  Add @dykov as a contributor
  [doc] Update release notes (#3686, #3704)
  Fix testcase
  Fix ReturnEmptyCollectionRatherThanNull
2022-01-09 19:44:02 +01:00
Andreas Dangel
e0af40d24f
Add @dykov as a contributor 2022-01-09 19:43:19 +01:00
Andreas Dangel
9802b12182
[doc] Update release notes (#3686, #3704) 2022-01-09 19:42:59 +01:00