1587 Commits

Author SHA1 Message Date
Clément Fournier
fde23333a0 Deprecate ruleviolation comparator 2020-08-25 16:37:19 +02:00
Clément Fournier
d945ee70e1 Merge branch 'master' into StringBuilder_issues 2020-08-25 14:48:23 +02:00
XenoAmess
90f53f892f StringBuilder issues 2020-08-25 03:06:56 +08:00
Clément Fournier
699ee7e2bf Merge branch 'use_try_with_resource' into master
refs #2734
2020-08-24 20:33:00 +02:00
Clément Fournier
b6531787d3 Merge branch 'use_StandardCharsets' into master
refs #2732
2020-08-24 20:30:30 +02:00
Clément Fournier
195104cc4a Merge branch 'printf_to_print' into master
Refs #2729
2020-08-24 20:28:42 +02:00
Clément Fournier
dc4e93ffe7 Merge branch 'javadoc' into master
Refs #2728
2020-08-24 20:20:39 +02:00
Clément Fournier
9c5759917d Merge branch 'index_of_to_contains' into master
Refs #2727
2020-08-24 20:20:12 +02:00
Clément Fournier
fe34bec0d4 Merge branch 'wrongly_boxing' into master
Refs #2725
2020-08-24 20:16:52 +02:00
XenoAmess
13af7b530d fix javadoc 2020-08-24 19:33:47 +08:00
XenoAmess
fc19861509 fix checkstyle 2020-08-24 19:08:32 +08:00
XenoAmess
3e0a7df72d use print instead of printf as no format exist. 2020-08-24 16:59:00 +08:00
XenoAmess
c5e2234763 use try with resource 2020-08-24 16:50:41 +08:00
XenoAmess
135d17b4ae valueOf to parse when we need primitive return value. 2020-08-24 16:48:50 +08:00
XenoAmess
33e4f98274 StringBuffer to StringBuilder 2020-08-24 16:45:11 +08:00
XenoAmess
b9e62fb4eb indexOf to contains 2020-08-24 16:43:23 +08:00
XenoAmess
327eaaedf6 use StandardCharsets 2020-08-24 16:30:04 +08:00
Andreas Dangel
89140d86ce Merge branch 'master' into pr-2656 2020-08-20 09:47:16 +02:00
Andreas Dangel
b01dc8371b [core] Backporting fixes from pmd7
LanguageFactory and LanguageRegistry are more
robust in case a single language can't
be loaded.
2020-08-06 11:29:05 +02:00
Andreas Dangel
0a7d3ff922 Merge branch 'pr-2690'
[core] Fix java7 compatibility #2690
2020-08-06 10:25:48 +02:00
Andreas Dangel
420e3cb11c Merge branch 'pr-2691'
[core] Duplicate warning for missing language attribute #2691
2020-08-06 10:23:49 +02:00
Clément Fournier
709ec484c6 Merge branch 'master' into deprecate-report-methods 2020-08-03 13:26:49 +02:00
Clément Fournier
1080d123c6 Merge branch 'master' into deprecate-report-methods 2020-08-03 13:23:17 +02:00
Clément Fournier
66efc90cb3 PR comments 2020-08-03 13:20:51 +02:00
Andreas Dangel
8782eaeb1a Merge branch 'pr-2681'
[core] Deprecate DFA #2681
2020-08-02 17:04:44 +02:00
Andreas Dangel
21d3bfc0c5 Merge branch 'pr-2676'
[core] Deprecate RuleContext attributes #2676
2020-08-02 16:56:38 +02:00
Andreas Dangel
40f954f81a Merge branch 'pr-2675'
[core] Deprecate parser options #2675
2020-08-02 16:53:24 +02:00
Andreas Dangel
54637c60ec [core] Remove dependency to commons text, it is actually not needed
Escaping in CDATA section is not necessary.
2020-08-02 12:28:21 +02:00
Andreas Dangel
4cf9f5904a [core] Fix java7 compatibility
* Scala also requires java8 and it failed indirectly via a
  ServiceConfigurationError while discovering the language.
  Scala's dependencies require java8.
* Downgrade JCommander for java7 compatibility
* Downgrade commons-text for java7 compatibility
* Add integration test
2020-08-01 17:53:45 +02:00
Clément Fournier
df5d3d2afd Only warn if warnDeprecated 2020-07-31 17:49:05 +02:00
Andreas Dangel
9b6dcfef3a Merge branch 'pr-2682'
[java] New Rule: AvoidReassigningCatchVariables #2682
2020-07-31 11:00:18 +02:00
Andreas Dangel
c447319fbe [doc] Update release notes and new rules
Fixes #2471
Refs #2682
2020-07-31 10:59:00 +02:00
Andreas Dangel
eb683569af Merge branch 'pr-2617'
[core] Deprecate missing language attribute on rule definition #2617
2020-07-30 10:19:03 +02:00
Clément Fournier
34d961b794 Deprecate ReadableDuration 2020-07-29 17:45:19 +02:00
Clément Fournier
658efc4fe3 Update release notes 2020-07-29 00:03:53 +02:00
Clément Fournier
520711a773 Deprecate framework in core 2020-07-28 23:47:05 +02:00
Clément Fournier
772bc1346c Deprecate more things 2020-07-28 23:34:01 +02:00
Clément Fournier
ce32573090 Deprecate more methods 2020-07-28 14:55:01 +02:00
Clément Fournier
f62a411a45 Deprecate some Report methods 2020-07-28 14:48:02 +02:00
Clément Fournier
7ab1ab0a76 Deprecate some methods on RuleContext 2020-07-28 14:40:53 +02:00
Clément Fournier
0609aac9d3 Deprecate AbstractParser 2020-07-28 14:36:20 +02:00
Clément Fournier
8fe29dfee7 Deprecations in XML module 2020-07-28 14:26:07 +02:00
Clément Fournier
9a37ab4962 Deprecate parser options in some places
There is no way to introduce the new API
in a binary compatible change, so LVHandler::getDefaultParserOptions,
LVHandler::getParser and Parser::parse
will remain like this until 7.0 and be
broken.
2020-07-28 14:25:51 +02:00
Andreas Dangel
fe82f6a448 Dogfood - update PMD to 6.26.0, update build-tools 2020-07-25 15:27:24 +02:00
Andreas Dangel
49ab75aeb7 [maven-release-plugin] prepare for next development iteration 2020-07-25 13:45:36 +02:00
Andreas Dangel
a9632e2a06 [maven-release-plugin] prepare release pmd_releases/6.26.0 2020-07-25 13:45:27 +02:00
Andreas Dangel
0738797738 Merge branch 'pr-2658'
[core][java] Deprecate pmd-core::lang.rule.ImportWrapper #2658
2020-07-24 09:47:32 +02:00
Clément Fournier
2fad9acfbd Merge branch 'master' into issue-2546 2020-07-23 15:52:30 +02:00
Andreas Dangel
62666213ba Deprecate pmd-core::lang.rule.ImportWrapper 2020-07-23 11:15:03 +02:00
Clément Fournier
2e9f5ad897 Merge branch 'master' into issue-2615 2020-07-20 16:36:16 +02:00