Andreas Dangel
820a43f9c9
Prepare pmd release 6.25.0
2020-06-27 11:21:15 +02:00
Andreas Dangel
842bdb000c
Merge branch 'pr-2609'
...
[core] Deprecate support for List attributes with XPath 2.0 #2609
2020-06-26 18:04:15 +02:00
Andreas Dangel
acbbbee685
Merge branch 'pr-2608'
...
[apex][plsql][java] Deprecate base rule classes #2608
2020-06-26 18:01:30 +02:00
Andreas Dangel
3831a8589c
Merge branch 'pr-2574'
...
[java] New Performance Rule UseIOStreamsWithApacheCommonsFileItem #2574
2020-06-26 17:58:49 +02:00
Andreas Dangel
91868f3156
Deprecations for #2490
2020-06-26 10:37:24 +02:00
Andreas Dangel
9508a92c2b
[java] Change rule priority of new rules to 3
2020-06-22 19:34:58 +02:00
Andreas Dangel
6fded20178
Merge branch 'master' into perf-UseIOStreamsWithApacheCommonsFileItem
2020-06-22 19:32:29 +02:00
Andreas Dangel
6143163b64
[doc] Multivalued rule properties are still supported for xpath 2.0.
2020-06-22 19:25:33 +02:00
Andreas Dangel
c098936708
[core] Use DeprecatedAttribute.NO_REPLACEMENT for List attributes
...
Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
2020-06-22 19:18:55 +02:00
Andreas Dangel
da65981619
[doc] Define rule implementation as internal API in release notes
2020-06-22 19:16:51 +02:00
Clément Fournier
99b8f4e443
Merge branch 'perf-UseStringBufferForStringAppends'
2020-06-21 17:58:18 +02:00
Clément Fournier
ee8d77bf09
Merge branch 'master' into perf-UseStringBufferForStringAppends
2020-06-21 17:58:06 +02:00
Clément Fournier
75146a06bf
Merge branch 'master' into perf-InefficientStringBuffering
2020-06-21 17:50:29 +02:00
Clément Fournier
469befe4d6
Merge branch 'perf-AvoidCalendarDateCreation'
2020-06-21 17:43:08 +02:00
Clément Fournier
ae2b481aa2
Merge branch 'master' into perf-AvoidCalendarDateCreation
2020-06-21 17:42:25 +02:00
Andreas Dangel
23c08b52b2
[apex] Internalize ApexParser and ApexHandler
2020-06-20 19:28:48 +02:00
Andreas Dangel
9c48ad1523
[core] Deprecate support for List attributes with XPath 2.0
...
Fixes #2451
2020-06-20 14:44:21 +02:00
Andreas Dangel
2df282a260
[doc] Update release notes, fixes #971
2020-06-20 12:08:20 +02:00
Andreas Dangel
d45612dde0
[plsql] Deprecate overly specific base rule classes
...
Refs #971
2020-06-20 12:05:15 +02:00
Andreas Dangel
a19e50a804
[apex] Deprecate overly specific base rule classes
...
Refs #971
2020-06-20 12:01:38 +02:00
Andreas Dangel
f6644c0eb0
[java] Deprecate overly specific base rule classes
...
Fixes #971
2020-06-20 11:54:55 +02:00
Andreas Dangel
26cfd347fd
Merge branch 'master' into perf-UseStringBufferForStringAppends
2020-06-20 11:29:11 +02:00
Andreas Dangel
eed1c6cab2
Merge branch 'pr-2603'
...
[cpp] Support unicode in identifiers #2603
2020-06-20 11:16:07 +02:00
Andreas Dangel
02195815d2
[doc] Update release notes, fixes #1757
2020-06-20 11:15:58 +02:00
Andreas Dangel
4b494899bf
[java] UseStringBufferForStringAppends: fix false positives
...
Fix false positives with field assignment and shadowing parameters
2020-06-20 10:50:31 +02:00
Clément Fournier
d624ee99f0
Add tests
2020-06-18 21:32:19 +02:00
Clément Fournier
7f081f0e63
Simplify int literals
2020-06-18 20:56:43 +02:00
Clément Fournier
b56e9e6708
Fix floats
2020-06-18 20:56:42 +02:00
Clément Fournier
c429a4e0c4
Fix wrong grammar for digit separators
2020-06-18 20:56:18 +02:00
Clément Fournier
673fe3934d
Fix hex numbers in uppercase
2020-06-18 20:56:00 +02:00
Clément Fournier
185c172b3c
c++ ident unicode support
2020-06-18 20:54:41 +02:00
Andreas Dangel
534bfe3c55
Merge branch 'pr-2572'
...
[cpd] Allow CPD tests based on a text dump #2572
2020-06-18 20:09:58 +02:00
Andreas Dangel
095dff1358
[doc] Update release notes, refs #2572 , fixes #2483
2020-06-18 19:58:16 +02:00
Andreas Dangel
a9f61260ae
[scala] Remove unnecessary surefire config
2020-06-18 19:58:16 +02:00
Andreas Dangel
b607fa95d0
Don't use \\R yet...
2020-06-18 19:58:12 +02:00
Clément Fournier
e435037fdc
Merge branch 'fix-xpath-rulechain'
2020-06-18 17:16:32 +02:00
Clément Fournier
2cfec287db
Merge branch 'master' into fix-xpath-rulechain
2020-06-18 17:16:23 +02:00
Clément Fournier
121fb55567
Add test case
2020-06-18 17:12:37 +02:00
Andreas Dangel
0f06f5132a
Merge branch 'pr-2593'
...
[java] NPathComplexity should mention the expected NPath complexity #2593
2020-06-18 15:09:35 +02:00
Andreas Dangel
186355c4f0
[doc] Update release notes, fixes #2570 , refs #2593
2020-06-18 15:08:37 +02:00
Andreas Dangel
fd63c97d33
[java] NPathComplexityRule: Use String.valueOf consistently
2020-06-18 15:07:00 +02:00
Andreas Dangel
db89c43fb6
Merge branch 'pr-2566'
...
[java] Auxclasspath in PMD CLI does not support relative file path #2566
2020-06-18 15:04:49 +02:00
Andreas Dangel
ca44ca3964
Merge branch 'pr-2557'
...
[java] UseProperClassLoader can not detect the case with method call … #2557
2020-06-18 15:03:43 +02:00
Andreas Dangel
45d3c07201
Merge branch 'pr-2556'
...
[apex] Exception applying rule UnusedLocalVariable on trigger #2556
2020-06-18 15:01:25 +02:00
Andreas Dangel
18c3796760
[doc] Update release notes, refs #2600 , refs #1932
2020-06-18 14:50:01 +02:00
Andreas Dangel
5579ddc21a
[java] UseStringBufferForStringAppends: add good example
2020-06-18 14:48:34 +02:00
Andreas Dangel
dda76be8ae
[java] UseStringBufferForStringAppends: fix false negative with fields
...
And also fix false positive when concatenation is local to each
for-loop iteration.
Test cases originally from #1932
Author: jborgers <jborgers@jpinpoint.com>
2020-06-18 14:37:47 +02:00
Andreas Dangel
a7f0c3d55f
[doc] Update release notes, refs #2599
2020-06-18 12:57:18 +02:00
Andreas Dangel
4e0e2d14ba
[core] Fix XPath 2.0 Rule Chain Analyzer
...
For the XPath expression
(//ForStatement | //WhileStatement | //DoStatement)//AssignmentOperator
we threw away "AssignmentOperator" and started visiting at this node.
But that's not possible, because that's not at the root of the expr.
2020-06-18 12:44:18 +02:00
Andreas Dangel
f1d46714a5
[java] InefficientStringBuffering: fix another ternary false positive
2020-06-18 12:10:36 +02:00