2280 Commits

Author SHA1 Message Date
Andreas Dangel
9cfe485888 Merge branch 'pr-2746' into pmd/7.0.x
[core, ...] Finish generic visitors #2746

Fixes #880
2020-09-13 09:49:14 +02:00
Andreas Dangel
7605a669a7 Merge branch 'pr-2742' into pmd/7.0.x
[core] Remove deprecated things about rules #2742
2020-09-13 09:22:02 +02:00
Andreas Dangel
4772817171 Merge branch 'master' into pmd/7.0.x 2020-09-13 09:19:52 +02:00
Andreas Dangel
04592c8038 [core] Deprecate RuleReference#getOverriddenLanguage() and #setLanguage()
Refs #2742
2020-09-13 09:18:34 +02:00
Clément Fournier
f5e4a0f81c Merge branch 'master' into 7.0.x 2020-09-13 01:49:45 +02:00
Andreas Dangel
dacfff1abf Merge branch 'pr-2758' into master
[cpd] Improve AnyTokenizer #2758
2020-09-12 19:25:47 +02:00
Andreas Dangel
3f69e9188b [core] AnyTokenizer: add TODO for PMD7 2020-09-12 19:14:00 +02:00
Andreas Dangel
5192fdc0f9 [core] AnyTokenizer: Add testcase to verify #2760 is fixed 2020-09-12 19:13:43 +02:00
Clément Fournier
a8ad1ac4f6 Remove RuleViolationComparator 2020-09-12 14:39:01 +02:00
Clément Fournier
d69e27c5b7 Merge branch '7.0.x' into remove-more-deprecated-things 2020-09-12 14:35:22 +02:00
Clément Fournier
57c25685b6 Merge branch 'master' into 7.0.x 2020-09-12 14:35:06 +02:00
Clément Fournier
dddbaf0a6a Merge branch 'master' into deprecate-rv-comparator 2020-09-03 12:17:05 +02:00
Clément Fournier
2e5de16cce Merge branch '7.0.x' into remove-more-deprecated-things 2020-09-01 18:32:14 +02:00
Clément Fournier
24f3017109 Update release notes 2020-09-01 18:23:47 +02:00
Clément Fournier
10b205b5e2 REVERT ME Make end column inclusive
This is for consistency with PMD 6, on pmd 7 this commit
may be reverted
2020-09-01 18:11:08 +02:00
Clément Fournier
dd440eb14a Fix tests 2020-09-01 18:11:05 +02:00
Clément Fournier
251a217a59 Checkout StringUtils parts from 7.0.x branch 2020-09-01 17:53:33 +02:00
Clément Fournier
21aeabdf45 Deprecate AbstractTokenizer 2020-09-01 17:50:39 +02:00
Clément Fournier
9af59c503b Fix linenos with multiline strings 2020-09-01 17:50:31 +02:00
Clément Fournier
5331be392b Add perl tests 2020-09-01 17:50:31 +02:00
Clément Fournier
bc0d9c781d Use it to replace RubyTokenizer 2020-09-01 17:50:21 +02:00
Clément Fournier
b27ab97684 Improve AnyTokenizer 2020-09-01 17:50:06 +02:00
Andreas Dangel
bab4ec4489 Merge branch 'master' into pmd/7.0.x 2020-08-31 18:50:18 +02:00
Andreas Dangel
c59af0aee6 [maven-release-plugin] prepare for next development iteration 2020-08-31 18:30:18 +02:00
Andreas Dangel
856950f0d2 [maven-release-plugin] prepare release pmd_releases/6.27.0 2020-08-31 18:30:09 +02:00
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
95048b061a Merge branch '7.0.x' into remove-more-deprecated-things 2020-08-30 21:36:04 +02:00
Clément Fournier
7384fd6fb2 Merge branch 'master' into 7.0.x 2020-08-28 14:58:10 +02:00
Clément Fournier
e851403482 Fix compilation 2020-08-28 14:49:49 +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
Clément Fournier
72555a9476 Checkout OptionalBool 2020-08-26 20:01:44 +02:00
Clément Fournier
997e3acf1e Extract improvements to core utils from java-grammar 2020-08-26 19:58:46 +02:00
Clément Fournier
5015383fc6 Partially revert 2020-08-26 19:10:32 +02:00
Clément Fournier
dd303a0903 Remove default implementation 2020-08-26 19:10:32 +02:00
Clément Fournier
80e9f48ed9 Add a hook for nodes to callback if the visitor is incorrect 2020-08-26 19:10:32 +02: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
fde23333a0 Deprecate ruleviolation comparator 2020-08-25 16:37:19 +02:00
Clément Fournier
bceee2b54f Disallow overriding language in rule reference 2020-08-25 16:13:22 +02:00
Clément Fournier
7922fb7564 Move MockRule into test sources 2020-08-25 16:13:20 +02:00
Clément Fournier
d9de4a5f4e Remove AbstractRuleViolationFactory
Since we have a compat branch for the designer, this
doesn't need to exist
2020-08-25 15:25:38 +02:00
Clément Fournier
5f8e5fc1ff Remove ImmutableLanguage 2020-08-25 15:23:22 +02:00
Clément Fournier
7a456e5b93 Remove ruleContext attributes
Refs #2676

Was forgotten in #2672
2020-08-25 15:18:19 +02:00
Clément Fournier
285e7f2e94 Merge branch 'master' into 7.0.x 2020-08-25 14:53:48 +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