|
ea0122a656
|
Merge branch 'master' into 7.0.x
|
2020-03-02 22:26:41 +01:00 |
|
|
f698a2e7aa
|
Small API improvements for records
|
2020-03-02 22:24:44 +01:00 |
|
|
f574b7929b
|
Merge branch 'master' into 7.0.x
|
2020-03-02 20:46:59 +01:00 |
|
|
18cc6a3e4e
|
Disallow throws clause on record constructor
|
2020-03-02 20:46:40 +01:00 |
|
|
c8c8a04dda
|
Fix new java nodes
|
2020-03-02 20:31:52 +01:00 |
|
|
bfc704fa05
|
Cleanup language level checker
|
2020-03-02 20:06:38 +01:00 |
|
|
9788a3af5d
|
Merge branch 'master' into 7.0.x
|
2020-03-02 19:12:28 +01:00 |
|
|
e880c72ed2
|
Merge branch 'java14'
|
2020-03-02 19:06:03 +01:00 |
|
|
e535c3edab
|
Add comment
|
2020-03-02 19:05:53 +01:00 |
|
|
fc0b437ad7
|
Fix record ctor with throws
|
2020-03-02 19:00:59 +01:00 |
|
|
f49a6dbc3d
|
[java] Add test with record implementing a interface
|
2020-02-29 20:00:18 +01:00 |
|
|
548326d2e1
|
[java] Make the new AST node classes final
|
2020-02-29 17:58:45 +01:00 |
|
|
564ded68c4
|
Merge branch 'pr-2302'
[java] Fix UselessOverridingMethod when evelating access modifier
|
2020-02-29 10:23:51 +01:00 |
|
|
30b6f14f85
|
Merge branch 'pr-2284'
[java] MisplacedNullCheck - fix false positive
|
2020-02-29 10:22:55 +01:00 |
|
|
f1fe8ce5e1
|
[java] Remove version java 12 preview
Keep the tests and move them to java 14
except for the break expression
|
2020-02-28 19:37:13 +01:00 |
|
|
eae6e96db0
|
[java] Add type parameters for test
|
2020-02-28 19:11:10 +01:00 |
|
|
ee211d42b1
|
[java] Remove unneccessary annotation parsing
|
2020-02-28 19:07:03 +01:00 |
|
|
2ace55f635
|
[java] Support RecordConstructorDeclaration as AnyTypeBodyDeclaration
|
2020-02-28 18:59:16 +01:00 |
|
|
7d3df99134
|
[java] RecordBody - test with more annotation and use deep lookahead
Record constructors are not allowed to throw exceptions.
|
2020-02-28 18:41:22 +01:00 |
|
|
0ecd1da200
|
[java] Get rid of RecordBodyDeclaration node
|
2020-02-28 18:32:33 +01:00 |
|
|
fa28aa7e23
|
[java] Test annotations with RecordComponents
|
2020-02-28 17:59:39 +01:00 |
|
|
68ba8a967d
|
[java] Test nested record type
|
2020-02-28 17:41:26 +01:00 |
|
|
e017def280
|
[java] Support vararg/array in RecordComponent and empty components
|
2020-02-28 17:35:44 +01:00 |
|
|
5f43e198d5
|
[java] RecordConstructorDeclaration - do not use Name()
|
2020-02-28 17:01:57 +01:00 |
|
|
9917e3f422
|
[java] RecordComponents -> RecordComponentList
|
2020-02-28 16:56:43 +01:00 |
|
|
e2d84d6741
|
[java] Add grammar jdoc for new Record types
|
2020-02-28 16:50:57 +01:00 |
|
|
8a224462fd
|
[java] Add initial support for Java 14 Preview record types
|
2020-02-28 14:58:52 +01:00 |
|
|
524925f8cb
|
[java] Rewrite escape sequence interpreting for text blocks
|
2020-02-28 11:29:09 +01:00 |
|
|
adfb2ab129
|
[java] Update grammar
|
2020-02-28 10:51:38 +01:00 |
|
|
b1acb29257
|
[java] VariableDeclarationId of pattern bindings is implicitly final
|
2020-02-28 10:50:00 +01:00 |
|
|
09ff74ea7a
|
[java] Don't consider VariableDeclaratorIds of Pattern Bindings for now
|
2020-02-28 10:38:44 +01:00 |
|
|
8a90c2d11d
|
[java] ASTLiteral - move the tests for text block content
Also fix determining the start of the content, when there are
multiple line terminators without indenting whitespace.
|
2020-02-28 09:43:54 +01:00 |
|
|
9a80f13164
|
[java] Fix new escape sequence "\s" detection
|
2020-02-27 21:23:33 +01:00 |
|
|
81bb8090cf
|
[java] Don't throw IllegalArgument if Literal is not a text block
|
2020-02-27 21:14:29 +01:00 |
|
|
da01ed4fde
|
Fix checkstyle
|
2020-02-27 21:12:00 +01:00 |
|
|
d16751d136
|
[java] Add support for TextBlocks in Java14
* New escape sequence "\s" added
* Added experimental ASTLiteral::getTextBlockContent to retrieve
the text block with stripped indentation
|
2020-02-27 21:11:02 +01:00 |
|
|
9d5b7554f0
|
[java] Make sure, SwitchExpressions with yield work with java14
Add additional tests for java14, so that we can later simply remove
the java13 preview tests
|
2020-02-27 18:30:39 +01:00 |
|
|
f3da33944b
|
[java] version 14 is now the new default
|
2020-02-27 15:15:50 +01:00 |
|
|
3a283559b4
|
Merge remote-tracking branch 'oowekyala/jdk14-pattern-matching' into jdk14
|
2020-02-27 15:03:24 +01:00 |
|
|
918be2a419
|
[java] UselessOverridingMethod - add another test case for synchronized
See https://sourceforge.net/p/pmd/bugs/423/
|
2020-02-24 19:55:57 +01:00 |
|
|
2650063541
|
Merge branch 'master' into 7.0.x
|
2020-02-21 14:45:43 +01:00 |
|
|
c6825d6dbf
|
[java] UselessOverridingMethod: consider package-level elevation as well
|
2020-02-20 16:44:24 +01:00 |
|
|
f0f06b8d84
|
[java] Refactor/simplify UselessOverridingMethod
|
2020-02-20 15:54:05 +01:00 |
|
|
1a50010dfa
|
[java] UselessOverridingMethod false positive when elevating access modifier
Fixes #911
|
2020-02-20 15:15:10 +01:00 |
|
|
174bdd6b0d
|
[java] UselessOverridingMethod - remove unnecessary CDATA in tests
|
2020-02-20 12:17:07 +01:00 |
|
|
59e4be3648
|
Update gitignore
files generated by eclipse m2e plugin and pmd plugin
|
2020-02-20 11:29:10 +01:00 |
|
|
0f241b0efc
|
Merge branch 'pmd/7.0.x' into pr-2022
|
2020-02-18 19:04:25 +01:00 |
|
|
b06772b953
|
Update rulesets
* add comment for removed rules in the releases rulesets
* remove rules completely in normal rulesets
(instead of commenting)
|
2020-02-18 18:54:47 +01:00 |
|
|
8ab362c0ad
|
Fix java metrics handler
|
2020-02-16 19:09:23 +01:00 |
|
|
ac18d3162a
|
Merge branch 'master' into 7.0.x
|
2020-02-16 18:41:04 +01:00 |
|