16669 Commits

Author SHA1 Message Date
Andreas Dangel
66d243efa1 [java] LiteralsFirstInComparison: additional test case 2020-07-23 10:10:26 +02:00
Mykhailo Palahuta
c351314f30 LiteralsFirstInComparisonsRule: ignore two string literals comparison 2020-07-22 13:46:08 +03:00
Mykhailo Palahuta
a3670e4135 [java] False negative: LiteralsFirstInComparisons for methods returning Strings (2569) 2020-07-16 18:10:36 +03:00
Andreas Dangel
1ca84d56c1 Merge branch 'pr-2590'
Update libraries snyk is referring to as `unsafe` #2590
2020-07-13 20:09:23 +02:00
Andreas Dangel
2032bb4477 [doc] Update release notes, refs #2590 2020-07-13 20:08:40 +02:00
Clément Fournier
c93414d7b5 Merge branch 'java-dummy-node' 2020-07-06 13:06:56 +02:00
Clément Fournier
e8d749dc5e Merge branch 'issue-2626' 2020-07-03 16:30:16 +02:00
Andreas Dangel
1fb085f7ab Use StringUtils.equalsIgnoreCase 2020-07-03 11:58:38 +02:00
Andreas Dangel
147f1ac053 [apex] UnusedLocalVariable - false positive on case insensitivity allowed in Apex
Fixes #2626
2020-07-02 22:39:17 +02:00
Andreas Dangel
f4bf540bc3 [java] Remove usages of DummyJavaNode 2020-07-02 09:48:23 +02:00
Robert Sösemann
26db700884 Merge pull request #2623 from pmd/revert-2621-master
Revert "[visualforce] add new safe resource for VfUnescapeEl" because not all required steps were done.
2020-06-30 14:38:55 +02:00
Robert Sösemann
715626bfc4 Revert "[visualforce] add new safe resource for VfUnescapeEl" 2020-06-30 14:37:14 +02:00
Robert Sösemann
d84736cacc Merge pull request #2621 from pchittum/master
[visualforce] add new safe resource for VfUnescapeEl
2020-06-30 14:30:23 +02:00
Peter Chittum
7f0f91f71a added new global variable name to safe resources 2020-06-30 08:18:45 +01:00
Peter Chittum
25cb8de645 added new global variable name to safe resources 2020-06-30 08:15:25 +01:00
Clément Fournier
596f27bf93 Checkstyle 2020-06-27 19:50:18 +02:00
Clément Fournier
2fac2df551 Format ruleset tests 2020-06-27 17:59:19 +02:00
Andreas Dangel
3f2bf0f596 Use pmd 6.25.0 2020-06-27 14:03:07 +02:00
Andreas Dangel
bb26df6adf Prepare next development version 2020-06-27 11:33:02 +02:00
Andreas Dangel
95d8e80c1b [maven-release-plugin] prepare for next development iteration 2020-06-27 11:31:27 +02:00
Andreas Dangel
a219b2e1be [maven-release-plugin] prepare release pmd_releases/6.25.0 pmd_releases/6.25.0 2020-06-27 11:31:16 +02:00
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