15316 Commits

Author SHA1 Message Date
Andreas Dangel
3f42cca200 [maven-release-plugin] prepare release pmd_releases/6.18.0 pmd_releases/6.18.0 2019-09-15 10:14:05 +02:00
Andreas Dangel
be90279d83 Prepare pmd release 6.18.0 2019-09-15 10:04:40 +02:00
Andreas Dangel
4672ccf2e3 Update generated rule documentation 2019-09-15 09:57:04 +02:00
Andreas Dangel
8f3abf9349 Merge branch 'pr-2015' 2019-09-15 09:47:04 +02:00
Andreas Dangel
6d8f7c12df Update release notes, refs #2015, #fixes #1227 2019-09-15 09:46:20 +02:00
Andreas Dangel
eeb147e594 formatting 2019-09-15 09:46:07 +02:00
Amish Shah
73006a420e Update doc for unused formal parameter 2019-09-14 14:17:06 -05:00
Andreas Dangel
e0b0e6330d [core] XPath 1.0: filter out list attributes
While XPath 2.0 queries support now list attributes as
sequences, XPath 1.0 won't. It would only be supported as
single string which makes the two xpath versions completely
incompatible. In order to make it easier for the transitioning
from xpath 1.0 to xpath 2.0, list attribute will only be
supported for xpath 2.0.

See also https://github.com/pmd/pmd/pull/1959#discussion_r322027876
2019-09-14 18:20:03 +02:00
Andreas Dangel
9eaffbd3e6 Update generated rule documentation 2019-09-14 17:24:26 +02:00
Andreas Dangel
8821434604 Merge branch 'pr-1943' 2019-09-14 17:11:34 +02:00
Andreas Dangel
5f30951a8b Update release notes, refs #1943, fixes #1942 2019-09-14 17:09:00 +02:00
Andreas Dangel
4d6b3215d5 Add new rule DebugsShouldUseLoggingLevel to quickstart 2019-09-14 17:08:37 +02:00
Clément Fournier
8ac3a10020 Bump kotlin test version 2019-09-14 15:04:38 +02:00
Clément Fournier
9ae5342eb5 Normalise line terminators in tests
Comparison was failing because the test file was checked
out with CRLF and the expected result is written with LF.

Maybe we should normalise consistently across tests. Using
PMD.EOL in tests is just code obfuscation.
2019-09-14 02:06:39 +02:00
Clément Fournier
c7b83fc0bc Merge branch 'adangel-java13' 2019-09-14 01:08:20 +02:00
Andreas Dangel
dd294d3813 Consider lower-case, use parameter strictMode 2019-09-13 15:57:14 +02:00
Andreas Dangel
c8fdd5f0c0 Merge branch 'pr-2013' 2019-09-13 15:22:51 +02:00
Robert Sösemann
5f1b2781e6 Update news.md 2019-09-12 20:58:09 +02:00
Andreas Dangel
76bf20a0c7 Analyze only src/main/java and not src anymore, since mixing
java12 preview and java13 preview is now not possible anymore

see
src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java12
src/test/resources/net/sourceforge/pmd/lang/java/ast/jdkversiontests/java13
2019-09-12 20:35:36 +02:00
Andreas Dangel
eba98b3898 Fixes from review, refs #1973 2019-09-12 20:22:45 +02:00
Clément Fournier
f9f7062a65 Mark typeres implementation as internal API 2019-09-12 18:43:22 +02:00
Andreas Dangel
a2df7e2d29 Merge branch 'master' into java13 2019-09-11 20:41:00 +02:00
Andreas Dangel
970c86f557 [java] Introduce language version 12-preview and 13-preview 2019-09-11 20:36:29 +02:00
Clément Fournier
36d63429b4 Merge branch 'cleanup-scala' 2019-09-08 22:47:49 +02:00
Clément Fournier
35aef685fa Fix typo in release notes 2019-09-08 22:46:55 +02:00
Clément Fournier
68cd5549b9 Cleanup some pmd-scala methods
* Remove ScalaNode#childrenAccept: this only makes stack traces longer.
Besides, the node doesn't know how to accumulate values, so it's useless.
* Specialize return type of some methods of the interface.
2019-09-08 22:44:39 +02:00
Juan Martín Sotuyo Dodero
36cd3d5a84 Merge pull request #1959 from adangel/apex-supertype
[apex] Expose supertype name of UserClass
2019-09-08 17:29:48 -03:00
Andreas Dangel
e29401b45e Fixes from PR #1959 Review 2019-09-08 21:35:14 +02:00
Clément Fournier
22e5538e14 Fix test files 2019-09-08 18:53:32 +02:00
Renato Oliveira
9b00cb3ceb Change expression to the one suggested by @rsoesemann. 2019-09-08 12:41:15 -03:00
Renato Oliveira
75d3e565f0 Update comment and "since" version 2019-09-08 12:37:42 -03:00
Clément Fournier
be7d439134 Checkstyle 2019-09-08 16:10:45 +02:00
Clément Fournier
0b52f6427a Add regression test for MissingOverride
Refs #2007
2019-09-08 16:07:05 +02:00
Andreas Dangel
a24e85488e Merge branch 'pr-1986' 2019-09-08 15:39:49 +02:00
Andreas Dangel
00f0cc3e3d Update release notes, refs #1986, fixes #1933, fixes #1936 2019-09-08 15:38:36 +02:00
Andreas Dangel
26600e68c7 Merge branch 'pr-1977' 2019-09-08 15:24:35 +02:00
Andreas Dangel
47d2b9b57b Update release notes, refs #1977, fixes #1953 2019-09-08 15:22:19 +02:00
Andreas Dangel
20d34103ce [plsql] Add basic support for with clause 2019-09-08 15:20:00 +02:00
Andreas Dangel
dea41f1b6f Merge branch 'pr-1976' 2019-09-08 12:03:54 +02:00
Andreas Dangel
4d9070cf16 Update release notes, refs #1976 2019-09-08 12:03:24 +02:00
Andreas Dangel
854cd4c700 Merge branch 'pr-1975' 2019-09-08 12:00:19 +02:00
Andreas Dangel
6e878e95bb Update release notes, refs #1975, fixes #1946 2019-09-08 11:59:27 +02:00
Andreas Dangel
aee182b0b8 Merge branch 'pr-1974' 2019-09-08 11:47:49 +02:00
Andreas Dangel
8124a0498b Update release notes, refs #1974
Fixes #1935
Fixes #1948
Fixes #1950
2019-09-08 11:46:44 +02:00
Andreas Dangel
2388f75891 Merge branch 'pr-1972' 2019-09-08 11:21:05 +02:00
Andreas Dangel
949a03acde Update release notes, fixes #1947, refs #1972 2019-09-08 11:20:03 +02:00
Andreas Dangel
f283a663a3 [plsql] New node ForUpdateClause 2019-09-08 11:16:46 +02:00
Andreas Dangel
de21a9008f [plsql] Remove extra tokens, remove reserved words as identifiers 2019-09-08 11:12:51 +02:00
Andreas Dangel
e2a28b4d43 [apex] Expose InterfaceNames and TriggerUsages as Lists 2019-09-07 20:28:21 +02:00
Andreas Dangel
4d285c0ac9 [core] Add support for List attributes for XPath 2.0 2019-09-07 20:26:52 +02:00