Andreas Dangel
3c50db2439
[maven-release-plugin] prepare for next development iteration
2018-10-28 16:49:09 +01:00
Andreas Dangel
7e4e859c5f
[maven-release-plugin] prepare release pmd_releases/6.9.0
2018-10-28 16:48:57 +01:00
Juan Martín Sotuyo Dodero
673a846b29
Merge branch 'pr-1408'
2018-10-27 22:21:21 -03:00
Clément Fournier
39f87ca5f3
Update schema location in rulesets
2018-10-27 21:02:16 +02:00
Andreas Dangel
9af7ea18b5
Directly delegate to visit(AbstractApexNodeBase)
...
Deprecate visit(ApexNode<?>)
2018-10-24 08:59:08 +02:00
Andreas Dangel
471c96cee9
Use visit(AbstractApexNodeBase)
...
This will visit all node types, including ASTFormalComment.
No need to explicitly implement visit(ASTFormalComment) in
AbstractNcssCountRule and ExcessiveNodeCountRule
2018-10-24 08:45:13 +02:00
Andreas Dangel
c97ae833d8
Merge branch 'jeffhube-cce' into issue-1396
2018-10-24 08:40:18 +02:00
Andreas Dangel
81f8b9f7c4
[apex] ClassCastException caused by Javadoc
...
* Add test cases for the affected rules
* refs #1396
2018-10-19 15:11:03 +02:00
Jeff Hube
91a1b5ffd6
Fix ASTFormalComment ClassCastException
2018-10-17 14:16:04 -04:00
Andreas Dangel
dc6b4e90a9
Merge branch 'pr-1382'
2018-10-17 08:46:47 +02:00
Will Herrmann
cba4e87acd
Replacing deprecated IO methods with ones that specify a charset
...
Standardizing with StandardCharsets.UTF_8, given that it was used in
several places of code already, and it provides compile-time checking
(as opposed to "UTF-8")
2018-10-12 17:25:08 -05:00
Andreas Dangel
fd19cdcb01
[apex] Convert rule test ApexDoc
2018-10-05 20:43:03 +02:00
Andreas Dangel
1f7c827323
Merge branch 'master' into unit-test-split
2018-10-05 20:39:22 +02:00
Andreas Dangel
6d00e74142
Use new base class PmdRuleTst for rule tests
2018-10-05 20:33:38 +02:00
Andreas Dangel
d8586382f6
[maven-release-plugin] prepare for next development iteration
2018-09-30 10:10:21 +02:00
Andreas Dangel
161d9cd6d6
[maven-release-plugin] prepare release pmd_releases/6.8.0
2018-09-30 10:10:12 +02:00
Juan Martín Sotuyo Dodero
310de01fd0
Merge branch 'master' of github.com:pmd/pmd
2018-09-23 01:29:52 -03:00
Juan Martín Sotuyo Dodero
6721e190b0
Merge branch 'pr-1314'
2018-09-23 01:27:52 -03:00
Juan Martín Sotuyo Dodero
29c5d5b49b
Several improvements after final review
2018-09-23 00:55:04 -03:00
Andreas Dangel
ec79ac1004
[apex] AvoidGlobalModifierRule gives warning even when its a webservice - false positive
...
Fixes #1348
2018-09-17 13:20:04 +02:00
Andreas Dangel
52be023f80
Simplify rule tests, directly inherit from SimpleAggregatorTst
...
for apex, javascript, jsp, plsql, visualforce, vm, xml
2018-09-09 13:10:44 +02:00
Andreas Dangel
0dc4364395
[apex] Split the rule tests
2018-09-09 12:01:31 +02:00
Andreas Dangel
291d36d841
[maven-release-plugin] prepare for next development iteration
2018-09-02 14:27:42 +02:00
Andreas Dangel
b98bd0bb96
[maven-release-plugin] prepare release pmd_releases/6.7.0
2018-09-02 14:27:33 +02:00
Jeff Hube
86dc44de3e
Revert changes to ApexRootNode
2018-08-29 12:28:01 -04:00
Jeff Hube
e86166ee62
Add ASTFormalComment as first child, calculate position
2018-08-29 12:26:28 -04:00
Jeff Hube
df7cc1c3a7
Add ASTFormalComment
2018-08-28 17:39:29 -04:00
Jeff Hube
42ab05551d
Merge branch 'master' into apexdoc
2018-08-27 15:59:42 -04:00
Juan Martín Sotuyo Dodero
1740d25cd7
Rule was moved
2018-08-27 04:06:08 -03:00
Juan Martín Sotuyo Dodero
5cf2334413
Allow both strict and lax checking mode
2018-08-27 03:02:44 -03:00
Jeff Hube
780a9e5dde
Fix pr comments
2018-08-22 11:20:45 -04:00
Jeff Hube
cba80b2e0e
Update rule since version
2018-08-21 17:03:28 -04:00
Jeff Hube
a4176126ca
Fix rule description
2018-08-21 17:02:00 -04:00
Jeff Hube
241eda93b9
Add OneDeclarationPerStatement
2018-08-21 15:52:59 -04:00
Jeff Hube
d500e7be48
Add ApexDocRule
2018-08-21 12:42:02 -04:00
Andreas Dangel
20f52700b4
[maven-release-plugin] prepare for next development iteration
2018-07-29 12:07:05 +02:00
Andreas Dangel
868f262c21
[maven-release-plugin] prepare release pmd_releases/6.6.0
2018-07-29 12:06:56 +02:00
Andreas Dangel
444beeb220
[maven-release-plugin] prepare for next development iteration
2018-06-26 09:34:01 +02:00
Andreas Dangel
211002bb34
[maven-release-plugin] prepare release pmd_releases/6.5.0
2018-06-26 09:07:11 +02:00
Juan Martín Sotuyo Dodero
8ee39deace
Upgrade to 6.0.0 categories
2018-06-23 22:33:32 -03:00
Juan Martín Sotuyo Dodero
d1b9d05a24
Merge branch 'master' into pr-836
2018-06-23 21:20:07 -03:00
Juan Martín Sotuyo Dodero
b1655f8ebc
Single declaration
2018-06-23 21:16:44 -03:00
Juan Martín Sotuyo Dodero
f39865e014
Revert "Merge remote-tracking branch 'Up2Go/master'"
...
This reverts commit 96fd8fbca6d4cf32a4a3e1873be3a85f27699d19, reversing
changes made to 4e0dd619b6b771a9fe39c32a409c91bbd7da4829.
2018-06-23 21:07:24 -03:00
Andreas Dangel
5a7bbe19a2
dogfood: fix missing override
...
Note: the rule is disabled for pmd-xml, refs #1074
2018-06-16 17:48:36 +02:00
Juan Martín Sotuyo Dodero
a788d4b586
[maven-release-plugin] prepare for next development iteration
2018-05-29 13:58:54 -03:00
Juan Martín Sotuyo Dodero
e9d78ede3c
[maven-release-plugin] prepare release pmd_releases/6.4.0
2018-05-29 13:58:44 -03:00
Andreas Dangel
85874e7e9c
[maven-release-plugin] prepare for next development iteration
2018-04-29 09:54:45 +02:00
Andreas Dangel
10c66fbf38
[maven-release-plugin] prepare release pmd_releases/6.3.0
2018-04-29 09:54:36 +02:00
Andreas Dangel
6cb0b47ef5
[apex] Add test case, refs #776
...
Note: only solution right now is supressing the rule for the string.
2018-04-24 22:22:48 +02:00
Juan Martín Sotuyo Dodero
c77b0b44f3
[apex] Stricter hardcoded ID detection
...
- IDs are only 15, or 18 digits long
- 18 digits long IDs are actually 15 digit IDs + checksum, which is now
validated
- Resolves #776
2018-04-10 01:28:29 -03:00