16052 Commits

Author SHA1 Message Date
Clément Fournier
514a524e6f Checkstyle 2020-03-19 19:22:35 +01:00
Clément Fournier
20a3c39b4d Make SplitUnions package private 2020-03-19 19:11:30 +01:00
Clément Fournier
45d4fc5f56 Make documentSorter singleton 2020-03-19 19:08:19 +01:00
Andreas Dangel
e2229b2d84 [core] Saxon XPath 2.0 and rule chain with visitors
This is an enhanced implementation of rule chain
support for XPath 2.0 expressions. It uses a own
visitor to analyze and modify the original
saxon xpath expressions.
2020-03-19 11:28:26 +01:00
Andreas Dangel
0b88caacea [core] Add more cases for Saxon rule chain 2020-03-13 20:48:35 +01:00
Andreas Dangel
5fb6df7daa [core] Add support for rule chain execution for XPath 2.0
Very similar approach to what has been implemented for Jaxen.
The existing rules still work as before.

Refs #1687
2020-03-13 15:29:20 +01:00
Andreas Dangel
b487ef94d0 [python] Deprecate/Internalize PythonTokenManager
Refs #2293
2020-03-13 10:30:43 +01:00
Andreas Dangel
c2f35584ca [java] Deprecate/Internalize JavaTokenManager 2020-03-13 09:43:59 +01:00
Andreas Dangel
70f1f511e4 [vm] Deprecate/Internalize VmTokenManager
Refs #2289
2020-03-13 09:43:26 +01:00
Andreas Dangel
4c1fa78192 Update pmd to 6.22.0 2020-03-12 18:50:55 +01:00
Andreas Dangel
a0b4c4fe0a Prepare next development version 2020-03-12 15:16:48 +01:00
Andreas Dangel
4c020bfbf7 [maven-release-plugin] prepare for next development iteration 2020-03-12 15:15:18 +01:00
Andreas Dangel
eb93aaeca7 [maven-release-plugin] prepare release pmd_releases/6.22.0 pmd_releases/6.22.0 2020-03-12 15:15:09 +01:00
Andreas Dangel
1c09ce1fc0 Prepare pmd release 6.22.0 2020-03-12 15:04:20 +01:00
Andreas Dangel
0d0c701f8a [doc] Mention xpath rules deprecation in release notes
Refs #1687
2020-03-12 14:56:25 +01:00
Andreas Dangel
58398689f8 Merge branch 'pr-2303'
[vm] Deprecate AST constructors / setters
2020-03-12 12:20:10 +01:00
Andreas Dangel
abf0e18c2d [ci] Use pmd.build-tools.version 6 2020-03-12 12:06:41 +01:00
Andreas Dangel
b29f01be5e [ci] be more explicit about the used maven repositories 2020-03-12 12:06:03 +01:00
Andreas Dangel
e8581d42df Merge branch 'pr-2343'
[ci] Disable checking for snapshots in jcenter
2020-03-12 12:01:42 +01:00
Andreas Dangel
653c0df9c2 [doc] Update release notes, refs #2343 2020-03-12 12:00:07 +01:00
Andreas Dangel
037856bdfb [test] Add missing "." for version numbers in test cases 2020-03-12 11:18:14 +01:00
Andreas Dangel
1deb84e5d1 Merge branch 'pr-2344'
[doc] Update ruleset examples for ant
2020-03-12 11:01:06 +01:00
Andreas Dangel
cad2825372 [doc] Update release notes, refs #2344 2020-03-12 11:00:15 +01:00
Andreas Dangel
49072d91e5 [doc] fix links to jxr in ant doc 2020-03-12 11:00:00 +01:00
Andreas Dangel
0aa88e82f5 [doc] remove more language-ruleset style references 2020-03-12 10:59:46 +01:00
Andreas Dangel
8380a6b2f0 Merge branch 'pr-2342'
[xml] Update property used in example
2020-03-12 10:33:54 +01:00
Andreas Dangel
bfe8a7ba45 [doc] Update release notes, refs #2342 2020-03-12 10:33:47 +01:00
Andreas Dangel
2313069307 Merge branch 'pr-2345'
[java] Fix Java14 processing errors
2020-03-12 10:29:34 +01:00
Andreas Dangel
76e1ff5da3 Merge branch 'pr-2336'
[core] Call SymbolFacade without classloader by default
2020-03-12 10:28:19 +01:00
Andreas Dangel
9c650445f2 Merge branch 'pr-2333'
[jsp] Deprecate AST constructors and setters
2020-03-12 10:26:37 +01:00
Piotrek Żygieło
241bf9ec10 Replace deprecated rulesets/...
Avoid:
Use Rule name category/java/bestpractices.xml/ConstantsInInterface instead of the deprecated Rule name rulesets/java/design.xml/ConstantsInInterface. PMD 7.0.0 will remove support for this deprecated Rule name usage.
2020-03-09 17:01:17 +01:00
Andreas Dangel
ed3f7a4cf2 [java] Deal with missing VariableNameDeclaration for pattern matching 2020-03-08 10:42:55 +01:00
Andreas Dangel
8adfacb530 [java] Fix MissingOverride with record 2020-03-08 10:42:05 +01:00
Andreas Dangel
225bb8d5af [java] Deal with variable name declarations of record components 2020-03-08 10:41:44 +01:00
Andreas Dangel
5f9fbf3933 [java] Fix missing declaration kind RECORD 2020-03-08 10:40:37 +01:00
Andreas Dangel
6a2c230214 [test] Support java14-preview in test cases 2020-03-08 10:36:39 +01:00
Piotrek Żygieło
467e3a9343 Disable checking for snapshots in jcenter 2020-03-08 09:30:23 +01:00
Piotrek Żygieło
1a412984ee [xml] Update property used in example 2020-03-07 22:40:52 +01:00
Andreas Dangel
4749833534 [doc] Add gearset pmd apex blog post 2020-03-07 09:54:07 +01:00
Andreas Dangel
922b5b987d Merge branch 'pr-2340'
[plsql] fix for parsing / as divide or execute
2020-03-07 09:43:49 +01:00
Andreas Dangel
dc12a6ea91 [doc] Update release notes, refs #2340 2020-03-07 09:41:48 +01:00
Andreas Dangel
d55fe56de9 Update m-checkstyle-p to 3.1.1 2020-03-07 09:23:51 +01:00
Andreas Dangel
245dcddd86 Merge branch 'pr-2339'
[cs] CPD: Fixed CPD --ignore-usings option
2020-03-07 09:21:13 +01:00
Andreas Dangel
f866b63d09 [doc] Update release notes, refs #2339 2020-03-07 09:19:35 +01:00
Andreas Dangel
0bfe70092a Merge branch 'pr-2338'
[cs] CPD: fixes in filtering of using directives
2020-03-07 09:13:46 +01:00
Andreas Dangel
7b06cfd04d [doc] Update release notes, refs #2338 2020-03-07 09:13:37 +01:00
Maikel Steneker
adb38ecbbc [cs] CPD: Fixed CPD --ignore-usings option 2020-03-06 12:52:46 +01:00
Piotr Szymanski
d50ccd1767 extended test case 2020-03-06 12:50:00 +01:00
Maikel Steneker
6a7e98924b [cs] CPD: fix issue where semicolons following using directives were not filtered 2020-03-06 12:34:06 +01:00
Maikel Steneker
d8e04ecc11 [cs] CPD: Fix for issue where statements following a using directive were ignored. 2020-03-06 12:33:59 +01:00