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
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
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
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
7b06cfd04d
[doc] Update release notes, refs #2338
2020-03-07 09:13:37 +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
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
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
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
7df397f1b6
[doc] Update release notes, fixes #2328 , refs #2326
2020-03-05 12:06:26 +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
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
e880c72ed2
Merge branch 'java14'
2020-03-02 19:06:03 +01:00
Andreas Dangel
9442a32ce6
[vm] More deprecations: package directive and util classes
2020-02-29 18:48:33 +01:00
Andreas Dangel
90f286a4a1
Merge branch 'pr-2280'
...
[cs] CPD: Replace C# tokenizer by an Antlr-based one
2020-02-29 11:36:14 +01:00
Andreas Dangel
b65a6a52ea
[doc] Update release notes, fixes #2139 , refs #2280 .
2020-02-29 11:34:50 +01:00
Andreas Dangel
1298dd13e9
Merge branch 'pr-2307'
...
[apex] Add support for SwitchStatement
2020-02-29 10:25:06 +01:00
Andreas Dangel
564ded68c4
Merge branch 'pr-2302'
...
[java] Fix UselessOverridingMethod when evelating access modifier
2020-02-29 10:23:51 +01:00
Andreas Dangel
30b6f14f85
Merge branch 'pr-2284'
...
[java] MisplacedNullCheck - fix false positive
2020-02-29 10:22:55 +01:00
Andreas Dangel
0bcfda5619
[doc] Update release notes: Java 14 Support
...
Fixes #2159
2020-02-28 19:48:00 +01:00
Andreas Dangel
f3da33944b
[java] version 14 is now the new default
2020-02-27 15:15:50 +01:00
Pham Hai Trung
9cec4c3ac7
Add version to plugin
...
The maven configuration will generate an issue if we don't specify the maven-pmd-plugin's version. Without the version, maven wouldn't be able to find the pmd plugin in central.
2020-02-27 09:38:43 +01:00
Andreas Dangel
00c2d5cc6b
[apex] Add parser support for Switch Statements
...
Fixes #2306
2020-02-22 14:54:28 +01:00
Andreas Dangel
d21e2565ae
[doc] Fix jdoc links in release notes
2020-02-22 12:27:46 +01:00
Andreas Dangel
ddd338dc78
[doc] Update release notes, refs #2297 , fixes #2162
2020-02-22 12:07:43 +01:00
Andreas Dangel
9a7bf4df04
[vm] Deprecate AST constructors / setters
2020-02-20 21:25:25 +01:00
Andreas Dangel
1a50010dfa
[java] UselessOverridingMethod false positive when elevating access modifier
...
Fixes #911
2020-02-20 15:15:10 +01:00
Clément Fournier
f11a5674e6
Document enum conversion
2020-02-16 18:30:09 +01:00
Andreas Dangel
80cba026c2
[java] Deprecate getArgumentCount()/getParameterCount()
...
* ASTArguments#getArgumentCount()
* ASTFormalParameters#getParameterCount()
Refs #2271
2020-02-16 13:12:28 +01:00
Andreas Dangel
7fb09deb3d
Merge branch 'pr-2263'
...
[java] Fix InvalidLogMessageFormat false-positive with lambda arguments
2020-02-16 12:06:12 +01:00
Andreas Dangel
92fa8231e7
Merge branch 'pr-2267'
...
[docs] Update docs about writing rules
2020-02-16 11:57:26 +01:00