2235 Commits

Author SHA1 Message Date
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
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
Clément Fournier
77053b7ac3 Fix pcollections dependency 2020-08-23 20:19:15 +02:00
Clément Fournier
1436eb8eed Mention pmd-java deps explicitly
They're transitively gotten from
pmd-core, but for some use cases
this is nicer

eg `mvn install -pl pmd-java`, given
that pmd-core was already installed
locally, should succeed. If the dependencies
are not mentioned explicitly, for some
reason this fails.

Before #2614, pmd-core was shaded with
its dependencies and this wasn't necessary
2020-08-23 18:40:40 +02:00
Clément Fournier
37bd0db6b0 Merge branch 'remove-old-stuff' into 7.0.x 2020-08-23 17:59:27 +02:00
Clément Fournier
d5f48c4741 Merge branch '7.0.x' into update-saxon-version 2020-08-23 17:45:21 +02:00
Clément Fournier
b2c8892d26 Merge branch 'generic-visitor-js' into 7.0.x 2020-08-23 16:44:27 +02:00
Clément Fournier
f203d9837c Merge branch 'generic-visitor3' into 7.0.x 2020-08-23 16:43:47 +02:00
Andreas Dangel
b9829c78fb Fix merge 2020-08-21 11:55:13 +02:00
Andreas Dangel
ab489832fe Merge branch 'master' into pmd/7.0.x 2020-08-21 11:51:54 +02:00
Andreas Dangel
89140d86ce Merge branch 'master' into pr-2656 2020-08-20 09:47:16 +02:00
Andreas Dangel
7be60cc20a Merge branch 'pr-2696' into pmd/7.0.x
[core] Remove DFA #2696
2020-08-16 10:41:27 +02:00
Clément Fournier
ad43a78aeb Remove wildcards from return type of asInstanceOf 2020-08-13 03:41:42 +02:00
Clément Fournier
4707bb3b10 Test XPath 3.1 2020-08-10 14:40:06 +02:00
Clément Fournier
76baa0c3a2 Cleanup XPathRule 2020-08-10 12:02:41 +02:00
Clément Fournier
7cd691d013 Make XPathRule final 2020-08-10 12:00:09 +02:00
Clément Fournier
37b9bfabaf Remove other specific XPath rules 2020-08-10 11:59:38 +02:00
Clément Fournier
546f014999 Doc + deprecate xpath 20
Basically, users shouldn't really have a choice
of XPath version, esp. if all versions we support
are compatible.
2020-08-10 11:56:47 +02:00
Clément Fournier
1e85519045 Merge branch '7.0.x' into update-saxon-version 2020-08-08 02:54:04 +02:00
Clément Fournier
3b11c3bff2 Merge branch '7.0.x' into remove-old-stuff 2020-08-08 02:38:56 +02:00
Clément Fournier
99e29645c4 Merge branch '7.0.x' into generic-visitor3 2020-08-07 03:16:00 +02:00
Clément Fournier
daa51685ec Make JS visitor generic 2020-08-07 03:00:49 +02:00
Clément Fournier
ab0aaadd64 Fix descendantOrSelf on leaf
With a leaf node it used to return empty
2020-08-07 02:58:27 +02:00
Andreas Dangel
483c8796be Merge branch 'master' into pmd/7.0.x 2020-08-06 11:43:08 +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
cbef6a8b7e Merge branch '7.0.x' into remove-old-stuff 2020-08-03 23:25:42 +02:00
Clément Fournier
94766ec818 Remove core DFA 2020-08-03 23:19:34 +02:00
Clément Fournier
c554aceba6 Merge branch 'master' into 7.0.x 2020-08-03 23:06:21 +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