18149 Commits

Author SHA1 Message Date
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
8c3277b8a2 Merge branch 'use_addAll' into master
Refs #2733
2020-08-25 14:51:13 +02:00
Clément Fournier
129de133cf Merge branch 'master' into use_addAll 2020-08-25 14:50:23 +02:00
Clément Fournier
5574e561ab Merge branch 'StringBuilder_issues' into master
refs #2730
2020-08-25 14:49:09 +02:00
Clément Fournier
d945ee70e1 Merge branch 'master' into StringBuilder_issues 2020-08-25 14:48:23 +02:00
Clément Fournier
4c7c80d254 Merge branch 'suspicious-equals' into master 2020-08-25 14:40:33 +02:00
Clément Fournier
99e86557e8 Update release notes, refs 2724 2020-08-25 14:40:24 +02:00
Clément Fournier
36c3d87272 Add md formatting 2020-08-25 14:38:59 +02:00
Clément Fournier
d7df3d342b Merge branch 'master' into suspicious-equals 2020-08-25 14:37:56 +02:00
Clément Fournier
0a18460234 Update pmd-java/src/main/resources/category/java/errorprone.xml 2020-08-25 14:37:29 +02:00
Clément Fournier
8689864ad1 Merge branch 'mateusz-stefanski-master' into master 2020-08-25 14:31:52 +02:00
Clément Fournier
50bb7876b6 Update release notes, refs #2723 2020-08-25 14:31:41 +02:00
Clément Fournier
ab7b7a4ad7 Use markdown format 2020-08-25 14:29:01 +02:00
Clément Fournier
4d888eeaab Merge branch 'master' into mateusz-stefanski-master 2020-08-25 14:27:19 +02:00
XenoAmess
90f53f892f StringBuilder issues 2020-08-25 03:06:56 +08:00
Clément Fournier
98e4114745 Update release notes 2020-08-24 20:42:48 +02: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
e949bf5162 Merge branch 'avoid_compiling_patterns_times_to_times' into master
Refs #2731
2020-08-24 20:29:21 +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
Clément Fournier
112dcbd5fb Merge branch 'StringBuffer_to_StringBuilder' into master
Refs #2726
2020-08-24 20:15:40 +02:00
XenoAmess
13af7b530d fix javadoc 2020-08-24 19:33:47 +08:00
XenoAmess
31ee6bfca1 fix checkstyles 2020-08-24 19:29:44 +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
33f4e27254 addAll issues 2020-08-24 16:58:10 +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
XenoAmess
d9d4b31a3a avoid compiling patterns times to times 2020-08-24 16:22:33 +08:00
Mateusz Stefanski
af6969a29a [doc] [java] SuspiciousEqualsMethodName: update description, fixes #2264 2020-08-23 21:02:25 +02:00
Clément Fournier
77053b7ac3 Fix pcollections dependency 2020-08-23 20:19:15 +02:00
Mateusz Stefanski
c161e57c1d [doc] [java] SimplifyStartsWith: update description and example, fixes #1868 2020-08-23 19:20:17 +02:00
Andreas Dangel
3a7ea4b606 Update pmd-designer to 6.27.0 2020-08-23 18:40:55 +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
51f0496713 Fix build 2020-08-23 18:11:37 +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
582d980e9d Merge branch 'update-saxon-version' into 7.0.x 2020-08-23 17:46:40 +02:00
Clément Fournier
e6ce27f287 Fix TypeIs[Exactly]Function
Refs #2721
2020-08-23 17:46:11 +02:00
Clément Fournier
d5f48c4741 Merge branch '7.0.x' into update-saxon-version 2020-08-23 17:45:21 +02:00