Commit Graph

2620 Commits

Author SHA1 Message Date
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
Andreas Dangel
af3c3fb9cb Merge pull request #3619 from adangel:java-rule-improvements-2
[java] Rule improvements part 2 #3619

* pr-3619:
  [java] MethodReturnsInternalArray - add test case (#3630)
  [doc] Update release notes (#3618)
  [java] ExceptionAsFlowControl - use rulechain
  [java] CouplingBetweenObjects - consider nested classes in interfaces
  [java] UnnecessaryReturn - use rulechain
  [java] UnnecessaryFullyQualifiedName - remove unnecessary super
  [java] UseCollectionIsEmpty - use rulechain
  [java] UnusedFormalParameter - fix false negative with anonymous
classes
  [java] MethodReturnsInternalArray - use rulechain
2021-11-26 08:46:28 +01:00
Andreas Dangel
2d76292ae8 Merge pull requets #3615 from adangel:java-rule-improvements-1
[java] Rule improvements part 1 #3615

* pr-3615:
  [java] JUnitAssertionsShouldIncludeMessage false positive
  [java] Rewrite JUnitAssertionsShouldIncludeMessage to fix false
negatives
  [java] TestClassWithoutTestCases - add test for #3624
  [java] Rewrite TestClassWithoutTestCases to fix false positives
  [doc] Update release notes (#3613, #3614)
  [java] LooseCoupling - use rule chain
  [java] Refactor AbstractJUnitRule
  [java] JUnitTestsShouldIncludeAssert - support nested test classes
  [java] ArrayIsStoredDirectly - fix false negative with nested classes
  [java] AccessorMethodGeneration - use rulechain
2021-11-26 08:44:36 +01:00
Andreas Dangel
97504937c7 [doc] Update release notes 2021-11-26 08:42:04 +01:00
Andreas Dangel
f7cf17ddbd Merge branch all-contributors/add-duanyang25 into pr-3600
docs: add duanyang25 as a contributor for code #3606
2021-11-25 11:26:27 +01:00
Andreas Dangel
6153d441a9 [doc] Update release notes (#3600, #3424, #3425) 2021-11-25 11:25:18 +01:00
Andreas Dangel
d5df3bf573 Merge branch 'master' into pr-3600 2021-11-25 11:03:38 +01:00
Andreas Dangel
c8eba25527 [doc] Update release notes 2021-11-23 20:24:44 +01:00
Andreas Dangel
63f6a919d7 [doc] Update release notes (#3635, #3640) 2021-11-23 20:15:05 +01:00
allcontributors[bot]
58d41a7b64 docs: update docs/pages/pmd/projectdocs/credits.md [skip ci] 2021-11-18 18:42:02 +01:00
Andreas Dangel
2e2ad6e89a [doc] Update release notes (#3491, #3612) 2021-11-18 18:24:50 +01:00
Andreas Dangel
6041bb1ff6 Add @johnra2 as a contributor 2021-11-18 18:22:27 +01:00
Andreas Dangel
48714f8161 [java] MethodReturnsInternalArray - add test case (#3630) 2021-11-15 19:20:41 +01:00
Andreas Dangel
956077f4d4 [java] TestClassWithoutTestCases - add test for #3624 2021-11-14 19:58:05 +01:00
Andreas Dangel
efe6f38aba [doc] Update release notes (#3620) 2021-11-13 11:40:59 +01:00
Andreas Dangel
9e5bfe9536 [doc] Update release notes (#3618) 2021-11-13 10:25:12 +01:00
Andreas Dangel
aa2a1a66fc [doc] Update release notes (#3613, #3614) 2021-11-12 11:50:14 +01:00
Andreas Dangel
b342097073 [doc] CPD CLI: --filelist to --file-list 2021-11-11 09:14:04 +01:00
Yang
a71ca23285 Update cli_reference accordingly to adopt GNU-style long options, keep -language and -version unchanged 2021-11-10 08:30:51 -06:00
Yang
04f4cdf579 change CPD.md to the new option "--fail-on-violation" 2021-11-10 08:04:39 -06:00
Liam
49204826bc Revert "change it to the new option "--fail-on-violation""
This reverts commit a0410bd480.
2021-11-10 07:57:40 -06:00
Yang
a0410bd480 change it to the new option "--fail-on-violation" 2021-11-10 07:45:41 -06:00
Yang
dad5e0d504 Change it to --aux-classpath 2021-11-10 07:06:44 -06:00
Andreas Dangel
51340b5df1 Prepare next development version 2021-10-30 10:17:33 +02:00
Andreas Dangel
fd391160b4 Prepare pmd release 6.40.0 2021-10-30 09:45:25 +02:00
Andreas Dangel
d914447266 [ci] Improve stats script to consider closed milestones as well 2021-10-30 09:37:16 +02:00
Andreas Dangel
426865e20d [doc] release notes: add experimental api, fix missing closing tag 2021-10-30 09:29:08 +02:00
Andreas Dangel
ac26d3dc6d Merge pull request #3584 from adangel:issue-3563-classnamingconventions
[java] ClassNamingConventions: Disable utilityClassPattern by default
#3584
2021-10-29 19:16:58 +02:00
Andreas Dangel
857894928a Merge pull request #3557 from adangel:doc-vf-typeres
[doc] Visualforce type resolution #3557

* pr-3557:
  [doc] Visualforce type resolution
2021-10-29 19:15:28 +02:00
Andreas Dangel
9a07b81612 Merge pull request #3544 from adangel:issue-3368-hardcoded-crypto-key
[java] HardcodedCryptoKey false negative with variable assignments #3368

* pr-3544:
  Simplify getUsages call
  Fix stack overflow error
  [java] HardcodedCryptoKey false negative with variable assignments
#3368
2021-10-29 19:14:31 +02:00
Andreas Dangel
15270c8bd9 Merge pull request #3543 from adangel:issue-3542-missing-override-enum
[java] MissingOverride: False negative for enum method #3542
2021-10-29 19:07:49 +02:00
Andreas Dangel
2a8db8b97c Merge branch 'master' into pr-3555 2021-10-28 11:35:12 +02:00
Andreas Dangel
f4d34f96c4 [doc] Update release notes (#3574, #3580, #3581) 2021-10-25 19:18:40 +02:00
Andreas Dangel
3093013ff7 [java] ClassNamingConventions: Disable utilityClassPattern by default
- Fixes #1595
- Fixes #3563
2021-10-25 18:37:08 +02:00
Scott Wells
d8dbea8809 Release notes updates for the changes in issue 3569. 2021-10-23 09:14:25 -05:00
Andreas Dangel
fb731c257e [doc] Update release notes (#3570, #3575) 2021-10-23 11:34:04 +02:00
Andreas Dangel
38d60e2313 [doc] Update release notes (#3568, #3573) 2021-10-23 11:29:42 +02:00
Andreas Dangel
93c022505f [doc] Update release notes (#3578) 2021-10-23 11:26:33 +02:00
Andreas Dangel
3ef0360d65 [doc] Update release notes (#1090, #3576, #3577, #3579) 2021-10-23 11:17:10 +02:00
Andreas Dangel
8c7b0fbe9c [doc] Update release notes (#3566, #3572) 2021-10-23 10:45:10 +02:00
Andreas Dangel
8d2af36fbb Update @SCWells72 as a contributor 2021-10-23 10:41:43 +02:00
Andreas Dangel
2cb76f8b25 [doc] Update release notes (#1089, #3571) 2021-10-23 10:41:17 +02:00
Andreas Dangel
8ae662c90d [doc] Update doc about merging pull requests
This includes now all-contributors and provides
standard merge commit messages.
2021-10-23 10:35:37 +02:00
Andreas Dangel
95e61c5933 Add @lujiefsi as a contributor 2021-10-22 14:33:39 +02:00
Andreas Dangel
ad0233e9ab [doc] Update release notes (#3565) 2021-10-22 14:32:30 +02:00
Andreas Dangel
adaf031311 Merge pull request #3564
docs: add essobedo as a contributor for code #3564
2021-10-16 09:39:52 +02:00
Andreas Dangel
5c9581113a Merge pull request #3561 from
essobedo:3560/block-lambda-InvalidLogMessageFormat

[java] InvalidLogMessageFormat: False positive with message and
exception in a block inside a lambda #3561
2021-10-16 09:39:02 +02:00
Andreas Dangel
2fc8047edd [doc] Update release notes (#3560, #3561) 2021-10-16 09:37:42 +02:00
allcontributors[bot]
3ce8d0eba1 docs: update docs/pages/pmd/projectdocs/credits.md [skip ci] 2021-10-16 07:36:46 +00:00
Andreas Dangel
35f3f3f517 [doc] Visualforce type resolution 2021-10-14 15:28:51 +02:00