Andreas Dangel
b55a227369
Merge branch 'pr-2745' into master
...
[core] Fix a NPE in buildUsageText #2745
2020-08-31 17:55:11 +02:00
Clément Fournier
104e71d497
Merge branch 'master' into StringBuilder_issues
2020-08-28 14:04:56 +02:00
Clément Fournier
292fa74ef5
Simplify test
...
I don't think we need to assert everything, the pmd-dist module
already has a test like that
2020-08-28 14:04:38 +02:00
Clément Fournier
986b39208f
Remove dead code in PMDCommandLineInterface
2020-08-28 13:59:43 +02:00
XenoAmess
32698d8c6b
add unit test for the change made.
2020-08-27 13:43:24 +08:00
XenoAmess
2e258aa529
revert changes to InnaccurateNumericLiteral
2020-08-27 11:49:39 +08:00
XenoAmess
244a39db0f
fix typos.
2020-08-27 11:47:11 +08:00
XenoAmess
efd87c50e4
Fix a NPE created by the last pr.
...
Sorry about that.
2020-08-26 21:08:51 +08: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