18576 Commits

Author SHA1 Message Date
Andreas Dangel
bdf3906682 [doc] Add @babula as a contributor [skip ci] 2021-12-21 19:29:02 +01:00
Andreas Dangel
1775e844b8 Merge pull request from babula:master
[apex] ApexDoc: Add reportProperty property #3693

* pr-3693:
  [doc] Update release notes (#3693)
  [apex] ApexDoc - handle properties via "reportProperty".
  Add reportMissingProperty property
2021-12-21 19:15:04 +01:00
Andreas Dangel
aadef37d49 [doc] Update release notes (#3693) 2021-12-21 19:14:24 +01:00
Andreas Dangel
ba903437c0 [apex] ApexDoc - handle properties via "reportProperty". 2021-12-21 19:04:59 +01:00
Andreas Dangel
5fce802d0d [doc] Update gems 2021-12-20 19:04:00 +01:00
Andreas Dangel
ffe8893a3d Update pmdtester from 1.2.0 to 1.3.0 2021-12-20 19:02:28 +01:00
Andreas Dangel
5e0b9f2382 [doc] Update info about Jenkins
Hudson is no more...
2021-12-20 18:59:02 +01:00
Andreas Dangel
9ca5f1a0f8 [doc] Mention pmd-github-action under Tools 2021-12-20 18:52:01 +01:00
Andreas Dangel
1597ef3900 Bump log4j to 2.17.0 2021-12-20 10:07:03 +01:00
babula
abfdb572d3 Add reportMissingProperty property 2021-12-17 13:34:47 -05:00
Andreas Dangel
14303f2529 Merge pull request #3683 from johnra2:3468-upm-inner-class
[java] Fixed 3468 UnusedPrivateMethod false positive when outer class calls private static method on inner class #3683

* pr-3683:
  [doc] Update release notes (#3209, #3468, #3683)
  [java] UnusedPrivateMethod: Add test case for #3209
  [java] Improve symboltable for inner classes
  Fixed 3468 unused private method call on inner class
2021-12-17 09:55:21 +01:00
Andreas Dangel
9d162156a2 [doc] Update release notes (#3209, #3468, #3683) 2021-12-17 09:54:31 +01:00
Andreas Dangel
9c6591381d [java] UnusedPrivateMethod: Add test case for #3209 2021-12-17 09:52:58 +01:00
Andreas Dangel
a72c9f66f5 Merge branch 'master' into pr-3683 2021-12-16 20:33:02 +01:00
Andreas Dangel
2f95d99b35 [java] Improve symboltable for inner classes 2021-12-16 20:30:44 +01:00
Andreas Dangel
5e3f54a484 Merge pull request #3688 from snuyanzin:patch-1
[java] Bump log4j to 2.16.0 #3688

* pr-3688:
  Update @snuyanzin as a contributor
  [doc] Update changelog (#3688)
  Bump log4j to 2.16.0
2021-12-15 18:53:32 +01:00
Andreas Dangel
8be44c8d3c Update @snuyanzin as a contributor 2021-12-15 18:51:08 +01:00
Andreas Dangel
0a8054d531 [doc] Update changelog (#3688) 2021-12-15 18:50:35 +01:00
Sergey Nuyanzin
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
Andreas Dangel
ae04e0a4b5 Bump log4j2 from 2.13.3 to 2.15.0 2021-12-13 19:02:07 +01:00
John Armgardt
8df5768bc9 Fixed 3468 unused private method call on inner class 2021-12-10 15:20:50 -06:00
Andreas Dangel
8f68e3e1cb [java] MissingOverride - backport test case (#3675) 2021-12-03 20:31:02 +01:00
Andreas Dangel
641b0e953d Merge pull request #3631 from johnra2:3492-usvo-fp-no-initial-string
[java] Fixed False positive for UselessStringValueOf when there is no initial String to append to #3631

* pr-3631:
  [doc] Update release notes (#3492, #3631)
  [java] MethodNameDeclaration.isPrimitiveReturnType() - check for void
  Checked for method primitive return type
  Fixed issue
2021-12-03 16:11:07 +01:00
Andreas Dangel
72a037d27f [doc] Update release notes (#3492, #3631) 2021-12-03 16:04:26 +01:00
Andreas Dangel
e801bb6525 [java] MethodNameDeclaration.isPrimitiveReturnType() - check for void 2021-12-03 15:59:21 +01:00
johnra2
5fdceb514d Merge branch 'master' into 3492-usvo-fp-no-initial-string 2021-12-02 16:03:08 -06:00
John Armgardt
6fb8fb57e7 Checked for method primitive return type 2021-12-02 15:52:30 -06:00
Andreas Dangel
033e817ed6 [java] LooseCoupling - backport test case (#3672) 2021-12-02 16:56:24 +01:00
Andreas Dangel
2d3e9d2f37 [java] Backport test cases (#3668, #3671) 2021-12-02 16:29:14 +01:00
Andreas Dangel
e1387951bd [java] ClassWithOnlyPrivateConstructorsShouldBeFinal - add test case
from #3668
2021-12-01 12:33:55 +01:00
Andreas Dangel
898331165f Merge pull request #3666 from adangel:close-resource-local-record
[java] Local records are a find boundary #3666

* pr-3666:
  [java] Local records are a find boundary
2021-12-01 09:36:14 +01:00
Andreas Dangel
5f8c5b21f2 Bump maven from 3.8.3 to 3.8.4 2021-12-01 09:09:30 +01:00
Andreas Dangel
c9c7d05ac7 [java] UnusedLocalVariable - add test case from #3656 2021-12-01 09:05:41 +01:00
Andreas Dangel
74aa2772bf [java] Local records are a find boundary
This fixes a ClassCastException in CloseResource
2021-11-30 16:29:13 +01:00
Andreas Dangel
3929cac930 [ci] Skip unnecessary ci build during release 2021-11-27 12:13:45 +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
a7f9e03b07 Bump pmd from 6.40.0 to 6.41.0 2021-11-27 12:03:45 +01:00
Andreas Dangel
013b86b6ef Prepare next development version 2021-11-27 11:22:51 +01:00
Andreas Dangel
3a97618d5d [maven-release-plugin] prepare for next development iteration 2021-11-27 11:21:17 +01:00
Andreas Dangel
ac68de1f51 [maven-release-plugin] prepare release pmd_releases/6.41.0 pmd_releases/6.41.0 2021-11-27 11:21:12 +01:00
Andreas Dangel
975ccf27c4 Prepare pmd release 6.41.0 2021-11-27 11:09:40 +01:00
Andreas Dangel
886ab2f2d9 Merge pull request #3648 from
juli1:juli1/rename-code-inspector-to-codiga

[doc] Rename Code Inspector to Codiga #3648

* pr-3648:
  [doc] Update release notes (#3648)
  - Rename Code Inspector to Codiga

[skip ci]
2021-11-27 11:02:40 +01:00
Andreas Dangel
c206c0ef27 [doc] Update release notes (#3648) 2021-11-27 10:59:23 +01:00
Andreas Dangel
039a3afda7 [doc] Update release notes [skip ci] 2021-11-27 10:26:07 +01:00
Andreas Dangel
4e9038d057 [doc] Update release notes (#2954) 2021-11-27 10:22:15 +01:00
Julien Delange
57700f114a - Rename Code Inspector to Codiga 2021-11-26 09:59:51 -07:00
Andreas Dangel
a4ded8daae Update ansi-regex (CVE-2021-3807)
https://github.com/advisories/GHSA-93q8-gq69-wqmw
2021-11-26 09:30:43 +01:00
Andreas Dangel
3f9805882f Merge pull request #3638 from
adangel:issue-3595-primitivewrapperinstantiation

[java] Fix PrimitiveWrapperInstantion false negative with new Boolean
#3638

* pr-3638:
  [java] Fix PrimitiveWrapperInstantion false negative with new Boolean
2021-11-26 09:11:27 +01:00
Andreas Dangel
2150e44471 Merge pull request #3637 from adangel:java17-integration-test
[core] Fix ant with Java17 #3637

* pr-3637:
  Only run the AntIT under linux
  [dist] Downgrade ant to 1.9.16 for java7 compat it
  Bump ant from 1.10.11 to 1.10.12
  Fix unused import
  [apex] Fix exception handling for commons-lang3-reflect calls
  [core] Fix Ant task with Java17
  [dist] Add java17, make ant test fail
  [dist] Add integration test for ant
2021-11-26 09:10:08 +01:00
Andreas Dangel
c6635b4942 Merge pull request #3621 from adangel:java-rule-improvements-3
[java] Rule improvements part 3 #3621

* pr-3621:
  [doc] Update release notes (#3620)
  [java] CheckSkipResult - use rulechain
  [java] AvoidUsingOctalValues - use rulechain
  [java] AvoidMultipleUnaryOperators - remove unnecessary super
  [java] SwitchDensity - use super.visit
  [java] SingularField - fix false negative with anonymous classes
2021-11-26 08:47:58 +01:00