|
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 |
|
|
59e4be3648
|
Update gitignore
files generated by eclipse m2e plugin and pmd plugin
|
2020-02-20 11:29:10 +01:00 |
|
|
4ce85c4656
|
[java] Fix deprecated usage of ArgumentCount/ParameterCount in rules
|
2020-02-16 14:41:37 +01:00 |
|
|
80cba026c2
|
[java] Deprecate getArgumentCount()/getParameterCount()
* ASTArguments#getArgumentCount()
* ASTFormalParameters#getParameterCount()
Refs #2271
|
2020-02-16 13:12:28 +01:00 |
|
|
7fb09deb3d
|
Merge branch 'pr-2263'
[java] Fix InvalidLogMessageFormat false-positive with lambda arguments
|
2020-02-16 12:06:12 +01:00 |
|
|
cb50a7af58
|
Merge branch 'pr-2236'
[java] Don't use ClassNotFoundException to report unresolved classes
|
2020-02-16 12:03:44 +01:00 |
|
|
92fa8231e7
|
Merge branch 'pr-2267'
[docs] Update docs about writing rules
|
2020-02-16 11:57:26 +01:00 |
|
|
d06b01785a
|
[java] Code formatting for properties in SingularFieldRule
|
2020-02-16 11:20:02 +01:00 |
|
|
9e2368257f
|
Merge branch 'pr-2241'
[core] Simplify metrics framework
|
2020-02-16 10:57:10 +01:00 |
|
|
4cef149f45
|
Merge branch 'pr-2278'
[java] fix UnusedImports rule for ambiguous static on-demand imports
|
2020-02-13 11:15:34 +01:00 |
|
|
1bba78cc65
|
[java] Remove unnecessary CDATA for UnusedImports tests
|
2020-02-13 11:12:44 +01:00 |
|
|
d61ec4c737
|
Deprecations for #2248
|
2020-02-12 14:39:01 +01:00 |
|
|
63fbfbd8c7
|
UnusedImports rule now matches regular static imports first and on-demand static imports after that
|
2020-02-10 23:20:08 +01:00 |
|
|
48cd952feb
|
Merge branch 'pr-2269'
[java] Improve TypeHelper resilience
|
2020-02-10 19:17:24 +01:00 |
|
|
0c9e813ac4
|
[java] AppendCharacterWithChar: remove unnecessary CDATA sections
The CDATA sections for the descriptions of the test cases
are not necessary.
|
2020-02-10 18:58:09 +01:00 |
|
|
97a4394553
|
Mark new API as experimental
|
2020-02-09 17:45:08 +01:00 |
|
|
adbe5eb553
|
make AppendCharacterWithCharRule ignore String literals, which are part of an expression, such as in StringBuffer.append("X".repeat(5));
|
2020-02-09 07:23:13 +01:00 |
|
|
5a6d332579
|
Make sure symbol table doesn't cry on duplicate name
|
2020-02-09 00:11:06 +01:00 |
|
|
ad023e8fa6
|
Support type test patterns
|
2020-02-09 00:10:50 +01:00 |
|
|
6e4daadc43
|
Add java version 14
|
2020-02-08 20:22:59 +01:00 |
|
|
5ba1823005
|
Improve fallback strategy of TypeHelper
|
2020-02-06 16:56:20 +01:00 |
|
|
dd87753f1a
|
[java] InvalidLogMessageFormat: add disabled false-negative test case
|
2020-01-31 16:07:57 +01:00 |
|
|
e0e858d39e
|
[java] InvalidLogMessageFormat false-positive for a lambda argument
Fixes #2255
This is actually only a workaround - lambda parameters are ignored now.
|
2020-01-30 21:14:25 +01:00 |
|
|
cad1f40b02
|
Merge branch 'pr-2251'
[java] FP for InvalidLogMessageFormat when using slf4j-Markers
Fixes #2250
|
2020-01-26 19:57:20 +01:00 |
|
|
d91e626a0b
|
Format idents in java grammar
|
2020-01-25 10:59:57 +01:00 |
|
|
60cb037f80
|
FP for InvalidLogMessageFormat when using slf4j-Markers
|
2020-01-25 10:17:59 +01:00 |
|
|
d90d5d267c
|
Remove trailing whitespace everywhere
|
2020-01-24 23:40:06 +01:00 |
|
|
58fa793e67
|
Fix indentation in poms
For some reason pmd-apex and pmd-apex-jorje
use 2 spaces while the rest use 4.
|
2020-01-24 23:17:26 +01:00 |
|
|
c27481f815
|
Trim trailing spaces in XML
|
2020-01-24 23:08:52 +01:00 |
|
|
d994700617
|
[maven-release-plugin] prepare for next development iteration
|
2020-01-24 17:20:47 +01:00 |
|
|
a28e9e22e5
|
[maven-release-plugin] prepare release pmd_releases/6.21.0
|
2020-01-24 17:20:38 +01:00 |
|
|
024fd7bd85
|
Merge branch 'pr-2244'
[core] Deprecate CharStream & generated classes
|
2020-01-24 16:31:38 +01:00 |
|
|
5feca7fd93
|
Exclude generated AST*.java files from internalization
|
2020-01-24 16:19:24 +01:00 |
|
|
35bb524803
|
[apex][java] *MetricsProvider are @InternalApi
Refs #2241
|
2020-01-24 15:56:04 +01:00 |
|
|
60e97d0ec8
|
Deprecate javacc generated code
|
2020-01-22 17:19:29 +01:00 |
|
|
08544a7539
|
Throw on metric not supported
|
2020-01-20 21:54:53 +01:00 |
|
|
055ae4abf0
|
Checkstyle
|
2020-01-20 00:57:45 +01:00 |
|
|
f576bc561a
|
checkstyle
|
2020-01-19 16:13:02 +01:00 |
|
|
f87fc16ed3
|
Fix tests
The tests were wrong, so this changeset
actually fixes a bug in metrics
|
2020-01-19 15:10:30 +01:00 |
|
|
31497715e7
|
Merge branch 'node-api'
|
2020-01-19 13:05:32 +01:00 |
|
|
b707e6e9ff
|
Fix caching
Non supported nodes produce NaN which is
converted to zero when converting to int
|
2020-01-19 13:04:22 +01:00 |
|
|
f282a3ad5c
|
Move metric providers back into language handlers
Reverts part of #2231
|
2020-01-19 12:47:47 +01:00 |
|
|
2123ab3d5d
|
Simplify metrics framework
|
2020-01-19 12:35:55 +01:00 |
|
|
27d7a6c02c
|
Accomodate children iterable for specialization
|
2020-01-19 05:57:39 +01:00 |
|