18640 Commits

Author SHA1 Message Date
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
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
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
Andreas Dangel
0f1e88c07d Merge branch 'master' into pr-3704 2022-01-09 19:39:28 +01:00
Andreas Dangel
4b200c8507 [doc] Update contributors list 2022-01-09 19:38:08 +01:00
Andreas Dangel
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
Andreas Dangel
9403dc50fc Add @squaresurf as a contributor 2022-01-09 19:35:27 +01:00
Andreas Dangel
27b5c9496f [doc] Update release notes 2022-01-09 19:35:13 +01:00
Andreas Dangel
00144f238f Merge pull request #3695 from adangel:apex-dependencies
[apex] Dependencies updates #3695

* pr-3695:
  Bump guava from 30.0-android to 31.0.1-android
  Bump cglib from 3.2.0 to 3.3.0
  Bump slf4j-api from 1.7.20/25 to 1.7.32
  Bump snakeyaml from 1.26 to 1.30
  Bump gson from 2.8.5/2.7 to 2.8.9 (see #3690)
  Bump logback from 1.2.3 to 1.2.9 (see #3690)
2022-01-09 19:32:09 +01:00
Andreas Dangel
d867654676 Merge branch 'master' into issue-3644-invalidlogmessageformat 2022-01-09 19:30:46 +01:00
Andreas Dangel
93c9871a84 Use Set instead of array 2022-01-09 19:30:12 +01:00
Andreas Dangel
b3faa22b41 Add @vgalloy as a contributor 2022-01-08 20:17:41 +01:00
Vincent Galloy
ba44f3116a Fix file name 2022-01-06 17:31:21 +01:00
Vincent Galloy
59422ffb55 Fix test class name 2022-01-06 17:30:57 +01:00
Vincent Galloy
31d39c935e Fix FinalParameterInAbstractMethod.externalInfoUrl 2022-01-06 09:12:11 +01:00
Vincent Galloy
b1c22db14a Rename to FinalParameterInAbstractMethod and target all methods 2022-01-06 09:04:37 +01:00
Vincent Galloy
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
Clément Fournier
72c4bbb31d Merge branch 'pr/3713' 2022-01-05 13:22:24 +01:00