16536 Commits

Author SHA1 Message Date
Andreas Dangel
e5a5fa9642 Prepare next development version 2020-05-24 17:35:24 +02:00
Andreas Dangel
ab04bdacdd [maven-release-plugin] prepare for next development iteration 2020-05-24 17:34:34 +02:00
Andreas Dangel
229cb2bdca [maven-release-plugin] prepare release pmd_releases/6.24.0 pmd_releases/6.24.0 2020-05-24 17:34:25 +02:00
Andreas Dangel
f2b8d21d41 Prepare pmd release 6.24.0 2020-05-24 17:22:57 +02:00
Andreas Dangel
7feb805f96 [java] UnnecessaryCastRule: verify clone is not flagged 2020-05-23 18:41:37 +02:00
Andreas Dangel
473a806cb7 [java] UnnecessaryCastRule: Avoid cast false-positives 2020-05-23 18:38:14 +02:00
Andreas Dangel
ff33cf0081 Update pmd-designer to 6.24.0 2020-05-23 17:45:48 +02:00
Andreas Dangel
a3a292d591 Remove unnecessary source-type tags in rule tests
source-type is actually only needed if
* the language supports more than one version
* the parser behaves differently with different versions
  (this has to do with compatibility, e.g. assert/enum keywords
  in java)
* the test needs a newer version than the default version
  (e.g. to test new language features)
* the test needs an older version than the default version
  (e.g. the rule has a maximumLanguageVersion specified)
* the rule behaves differently for different versions
  (e.g. BigIntegerInstantiation)
2020-05-23 14:16:13 +02:00
Andreas Dangel
561825703f [doc] Fix rule tags in the rule docs
If using quotes, there was a html escape done, which made
the rule tag renderer to spit out "quot".
2020-05-23 13:07:25 +02:00
Andreas Dangel
6edd6c3ebb [doc] Update gems 2020-05-23 11:01:11 +02:00
Andreas Dangel
bc7328fded [doc] Support nested classes when generating jdoc links
Only one level of nesting is supported.
This fixes the link to AntlrTokenManager.ANTLRSyntaxError
2020-05-23 10:59:48 +02:00
Andreas Dangel
d21e309043 [java] AvoidPrintStackTrace - fix tests and deprecation warning 2020-05-22 20:19:45 +02:00
Andreas Dangel
4899d04cb3 Merge branch 'pr-2522'
[java] AvoidPrintStackTrace - consider method calls #2522
2020-05-22 20:15:41 +02:00
Andreas Dangel
db88d03879 [doc] Update release notes, fixes #2437 2020-05-22 20:12:03 +02:00
Andreas Dangel
9936cc34b4 Merge branch 'pr-2495'
[c#] Support for interpolated verbatim strings #2495
2020-05-22 19:53:10 +02:00
Andreas Dangel
2e60a60838 [doc] Update release notes, refs #2495 2020-05-22 19:52:24 +02:00
Andreas Dangel
aafd39b1fd Merge branch 'pr-2493'
[java] Deprecate redundant String Comparison rules #2493
2020-05-22 19:50:20 +02:00
Andreas Dangel
b49279d475 [doc] Update release notes, refs #2493, fixes #2145 2020-05-22 19:49:02 +02:00
Andreas Dangel
90903f076b [java] Document deprecations in code for PositionLiterals*Rule 2020-05-22 19:48:46 +02:00
Andreas Dangel
e1cd3b4c8d Merge branch 'pr-2487'
[all] Cleanup rule test xml #2487
2020-05-22 19:41:01 +02:00
Andreas Dangel
e9ce6590af [doc] Clarify source-type for rule tests 2020-05-22 19:38:57 +02:00
Andreas Dangel
bf16b508f7 Merge branch 'pr-2476'
[java] MethodNamingConventions - Add support for JUnit 5 method naming #2476
2020-05-22 19:30:41 +02:00
Andreas Dangel
d0eb3292ba [doc] Update release notes, refs #2476 2020-05-22 19:29:39 +02:00
Andreas Dangel
aa1722e9e3 [java] Fix TypeHelper if the searched type is not fully qualified 2020-05-22 18:58:59 +02:00
Andreas Dangel
5a6cb7be8b [java] Fix typehelper fallback for simple class name
If there is no auxclasspath, then we still can use imports to
check the full name before we fallback to simple name only.

Also improve RuleTst to actually test without auxclasspath
2020-05-22 17:06:55 +02:00
Andreas Dangel
6049126228 Merge branch 'pr-2465'
[dependencies] Upgrade hamcrest, mockito and JUnit #2465
2020-05-22 11:46:04 +02:00
Andreas Dangel
9378c1abb8 [doc] Update release notes, refs #2465 2020-05-22 11:44:18 +02:00
Andreas Dangel
11f413e6ee Add missing dependency junit or scope test 2020-05-22 11:37:22 +02:00
Andreas Dangel
5f3ff0aed8 Remove hamcrest dependency, where it is not needed directly.
Use scope compile for hamcrest in pmd-lang-test
2020-05-22 11:36:49 +02:00
Andreas Dangel
cb910d69c7 Merge branch 'pr-2444'
[core] Support reproducible builds #2444
2020-05-22 11:03:05 +02:00
Andreas Dangel
33bfedc3d9 [java] Enable rule UnnecessaryCast (codestyle)
Added tests, added iterator support
Fixed problem when accessing fields via "this.".
2020-05-22 10:36:24 +02:00
Maikel Steneker
9c2deba035 Add support for C# 8 interpolated verbatim strings that start with @$. 2020-05-19 16:49:19 +02:00
John Teng
261f2d747a removed unintentional keypress 2020-05-18 16:58:13 -04:00
John Teng
01c283ce00 Added deprecated tags to code and bestpractices ruleset, updated quickstart ruleset 2020-05-18 16:56:12 -04:00
Clément Fournier
cd5333e236 Fix dead link in CONTRIBUTING.md 2020-05-18 21:16:04 +02:00
Andreas Dangel
0cc00277d3 Merge branch 'pr-2474'
[core] Stop JavaCharStream from throwing Error #2474
2020-05-18 20:28:37 +02:00
Andreas Dangel
ca341e85d4 [doc] Update release notes, fixes #2472 2020-05-18 20:27:03 +02:00
Andreas Dangel
2b4d05e127 Merge branch 'pr-2475'
[swift] Swift 4.2-5.2 support #2475
2020-05-18 20:23:10 +02:00
Andreas Dangel
fe98d8a15a [doc] Update release notes, fixes #2473, refs #2475 2020-05-18 20:22:18 +02:00
Andreas Dangel
3449c9a372 Merge branch 'pr-2478'
[java] New rule: LiteralsFirstInComparisons #2478
2020-05-18 20:17:23 +02:00
Andreas Dangel
526526be47 [java] Reformat (whitespaces) LiteralsFirstInComparisons.xml 2020-05-18 20:16:41 +02:00
Andreas Dangel
7138d2e4d4 [doc] Update release notes, refs #2478 2020-05-18 20:11:45 +02:00
Andreas Dangel
3305eeedd2 [core] Add new rule to releases ruleset for 6.24.0 2020-05-18 20:11:25 +02:00
Andreas Dangel
0fa0c4a70c [java] add new rule in quickstart.xml 2020-05-18 20:11:04 +02:00
Andreas Dangel
979d81c02e Merge branch 'pr-2481'
[java] Fix JUnitSpellingRule false positive #2481
2020-05-18 19:57:45 +02:00
Andreas Dangel
33e3bc24c4 [doc] Update release notes, fixes #2477, refs #2481 2020-05-18 19:57:05 +02:00
Andreas Dangel
dfd5e608d6 [java] Remove unnecessary CDATA in JUnitSpelling.xml 2020-05-18 19:55:39 +02:00
Artem Krosheninnikov
ad68cdda24 Fix review remarks 2020-05-16 23:26:24 +03:00
Clément Fournier
382a1a15f6 Merge branch 'improve-alias-api' 2020-05-16 19:22:10 +02:00
Clément Fournier
35e9f7d1bd Doc 2020-05-16 19:19:48 +02:00