16750 Commits

Author SHA1 Message Date
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
Piotr Szymanski
7d9322734e fixed parsing front slash 2020-03-06 12:29:49 +01:00
Andreas Dangel
68872bec24 Update checkstyle to 8.30 2020-03-06 11:21:29 +01:00
Andreas Dangel
d0ae960906 Introduce properties checkstyle.version / checkstyle.plugin.version
refs checkstyle/checkstyle#7534
2020-03-06 11:19:47 +01:00
Andreas Dangel
6f78d54ba8 [plsql] Fix unit tests with duplicated symbol names 2020-03-06 11:11:16 +01:00
Andreas Dangel
4468db2428 [core] Call SymbolFacade without classloader by default
This allows languages, that don't need a classloader while creating
symbol table to just override the one method.
In the test, we call always the overloaded method with class loader
with made the symbol table processing not being run for tests
in plsql.

Fixes #2325
2020-03-06 10:59:02 +01:00
Andreas Dangel
38ce869b12 Merge branch 'pr-2332'
[plsql] Fixed Execute Immediate statement parsing
2020-03-06 10:24:26 +01:00
Andreas Dangel
e8167ede24 [doc] Update release notes, refs #2332 2020-03-06 10:23:13 +01:00
Andreas Dangel
7bf8493307 Merge branch 'pr-2331'
[plsql] Fix in Comment statement
2020-03-06 10:19:48 +01:00
Andreas Dangel
d0772f76d2 [doc] Update release notes, refs #2331 2020-03-06 10:18:36 +01:00
Andreas Dangel
a682d36745 [plsql] Remove CursorBody and keep CursorSpecification 2020-03-06 10:18:27 +01:00
Andreas Dangel
d8afacd6a3 Formatting 2020-03-06 09:47:17 +01:00
Andreas Dangel
53a94b3844 [plsql] Deprecate AST constructors and setters
Also remove useless javadoc comments and fix license header
2020-03-06 09:15:25 +01:00
Andreas Dangel
34b55a7c90 Update release notes 2020-03-05 20:42:40 +01:00
Andreas Dangel
5f7216f374 [vf] Deprecate AST constructors and setters
Also remove useless javadoc comments and fix license header
2020-03-05 20:39:05 +01:00
Andreas Dangel
846c7ad6e4 [vm] Deprecate/Internalize VmParser as well
This will be moved in PMD 7 to the subpackage ast
2020-03-05 20:18:11 +01:00
Andreas Dangel
ff7dfd9eb6 [jsp] Deprecate AST constructors and setters
Also remove useless javadoc comments and fix license header
2020-03-05 20:13:14 +01:00
Andreas Dangel
144c767469 [vm] Really deprecate+internalize lang.vm.ast.VmParser 2020-03-05 18:19:55 +01:00
Piotr Szymanski
8ae59231a2 fixed and turned on Execute Immediate 2020-03-05 17:47:45 +01:00
Piotr Szymanski
72587706b3 small fix in Comment statement, removed not needed cursorSpecification, code formatting 2020-03-05 16:50:46 +01:00
Andreas Dangel
d759f8126b Merge branch 'pr-2327'
[plsql] Parsing of WHERE CURRENT OF added
2020-03-05 12:22:05 +01:00
Andreas Dangel
24e5667a72 [doc] Update release notes, refs #2327 2020-03-05 12:21:23 +01:00
Andreas Dangel
971c034ae0 Merge branch 'pr-2326'
[plsql] Added XML functions to parser: extract(xml), xml_root and fixed xml_forest
2020-03-05 12:19:25 +01:00
Andreas Dangel
cc19671c5d Add missing override 2020-03-05 12:14:30 +01:00
Andreas Dangel
7df397f1b6 [doc] Update release notes, fixes #2328, refs #2326 2020-03-05 12:06:26 +01:00
Andreas Dangel
2c68e13598 [plsql] Refactor XMLROOT and XMLFOREST
* Undo changes for XMLFOREST - <AS> is not optional alone
* Remove token for keyword "VALUE"
2020-03-05 12:04:07 +01:00
Andreas Dangel
3329374214 [plsql] Refactor ExtractExpression
* Separate helper productions for datetime/xml
* Use StringLiteral for xpath and namespace
2020-03-05 12:02:56 +01:00
Piotr Szymanski
b83a4c3112 fixed test case 2020-03-05 11:22:47 +01:00
Piotr Szymanski
97043a75c5 parsing where_current_of added 2020-03-04 17:22:15 +01:00
Piotr Szymanski
69025d7522 extract(xml), xml_root, xml_forest fix 2020-03-04 15:10:24 +01:00
Clément Fournier
b2b85e51bd Remove multifile stuff
This is the last component that depends
on JavaQualifiedName on the java-grammar
branch.
2020-03-03 01:01:10 +01:00
Clément Fournier
ea0122a656 Merge branch 'master' into 7.0.x 2020-03-02 22:26:41 +01:00
Clément Fournier
f698a2e7aa Small API improvements for records 2020-03-02 22:24:44 +01:00
Clément Fournier
1b3254fae7 Merge branch 'master' of github.com:pmd/pmd 2020-03-02 22:12:47 +01:00
Clément Fournier
f574b7929b Merge branch 'master' into 7.0.x 2020-03-02 20:46:59 +01:00
Clément Fournier
18cc6a3e4e Disallow throws clause on record constructor 2020-03-02 20:46:40 +01:00
Clément Fournier
f63deac878 Remove wrongly committed file 2020-03-02 20:32:42 +01:00
Clément Fournier
c8c8a04dda Fix new java nodes 2020-03-02 20:31:52 +01:00
Andreas Dangel
59112bdd92 Merge branch 'pr-2321'
[apex] Support switch statements correctly in Cognitive Complexity
2020-03-02 20:30:43 +01:00
Andreas Dangel
4f78b14803 Update apex quickstart ruleset 2020-03-02 20:26:41 +01:00
Andreas Dangel
94e28557db Merge branch 'pr-2317'
[apex] New Rule - Test Methods Must Be In Test Classes
2020-03-02 20:18:25 +01:00
Andreas Dangel
b50f4f48d8 [doc] Update release notes, fixes #639, refs #2317 2020-03-02 20:17:33 +01:00
Clément Fournier
bfc704fa05 Cleanup language level checker 2020-03-02 20:06:38 +01:00
Clément Fournier
bd5720749d Fix CS module 2020-03-02 19:18:50 +01:00
Clément Fournier
9788a3af5d Merge branch 'master' into 7.0.x 2020-03-02 19:12:28 +01:00
Clément Fournier
e880c72ed2 Merge branch 'java14' 2020-03-02 19:06:03 +01:00
Clément Fournier
e535c3edab Add comment 2020-03-02 19:05:53 +01:00