Tomi De Lucca
60aa1b5c2b
Moved base token filter to internal package
2019-02-17 18:36:55 -03:00
Tomi De Lucca
321f4b0f33
Merge branch 'master' of github.com:pmd/pmd into feature/token-filter
2019-02-17 17:45:48 -03:00
Tomi De Lucca
decb969491
Antlr token manager now is responsible of filtering non default tokens
2019-02-17 17:36:15 -03:00
Juan Martín Sotuyo Dodero
b74527cb8e
Merge branch 'pr-1598'
2019-02-17 16:33:33 -03:00
Juan Martín Sotuyo Dodero
2cf10b9759
Internalize the AntrlTokenizer
2019-02-17 16:31:56 -03:00
Travis CI (pmd-bot)
dd175ff4e5
Update documentation
...
TRAVIS_JOB_NUMBER=3448.1
TRAVIS_COMMIT_RANGE=4835b29f88f0...9f4341e70e02
2019-02-17 17:58:25 +00:00
Juan Martín Sotuyo Dodero
9f4341e70e
[core] Add release sourceset
2019-02-17 14:43:32 -03:00
Juan Martín Sotuyo Dodero
4835b29f88
Merge branch 'pr-1538'
2019-02-17 14:37:52 -03:00
Juan Martín Sotuyo Dodero
4938fa8272
The rule will be part of 6.12.0
2019-02-17 14:33:41 -03:00
Tomi De Lucca
3cff4f3d22
Minor fixes
2019-02-16 01:19:05 -03:00
Tomi De Lucca
017f50df3e
Merge branch 'master' of github.com:pmd/pmd into feature/token-filter
2019-02-16 00:25:10 -03:00
Tomi De Lucca
f049a36e5c
Refactored token filter
2019-02-16 00:24:16 -03:00
Andreas Dangel
544238244b
[java] Rename UseDiamondOperator -> UseDiamondOperatorTest
2019-02-10 09:42:41 +01:00
Juan Martín Sotuyo Dodero
e57d365da9
Merge branch 'pr-1646'
2019-02-09 13:13:09 -03:00
Juan Martín Sotuyo Dodero
f012dca515
Update changelog, refs #1646
2019-02-09 13:12:47 -03:00
Juan Martín Sotuyo Dodero
189c5990f4
Split test cases for granularity
2019-02-09 13:11:16 -03:00
Shubham
74d45a90f0
New test case added
2019-02-09 16:31:09 +05:30
Shubham
5bb24d96cf
XPATH for UseDiamondOperator Rule Updated
2019-02-08 17:26:35 +05:30
Shubham
50f64f5fb1
Update UseDiamondOperator.xml
2019-02-07 10:46:06 +05:30
Shubham
1d321d9a0a
Removed var from getting checked by UseDiamondOperatorRule
...
Also includes Minor Correction in one test case.
2019-02-06 16:51:46 +05:30
Juan Martín Sotuyo Dodero
cfe07822be
Merge branch 'pr-1644'
2019-02-05 23:33:41 -03:00
Juan Martín Sotuyo Dodero
be73856c7c
Update changelog, refs #1644
2019-02-05 23:32:52 -03:00
Juan Martín Sotuyo Dodero
a558133822
Merge branch 'pr-1645'
2019-02-05 22:53:10 -03:00
Juan Martín Sotuyo Dodero
3f436ddbbd
Update changelog, refs #1645
2019-02-05 22:52:54 -03:00
Juan Martín Sotuyo Dodero
2165fb056c
Remove TryStatement from parent blocks
...
- We should treat appends over the try edge as consecutive, it's only
catch / finally that maye break the linear execution flow
2019-02-05 22:50:11 -03:00
Juan Martín Sotuyo Dodero
58b52a4fd8
Add more test cases
2019-02-05 22:49:53 -03:00
Shubham
709f9ed4ea
Catch and Finally Statements added
2019-02-05 12:58:39 +05:30
tomdaly
7dd44ec414
Fix PR comments
2019-02-04 19:16:08 +00:00
tomdaly
37f5031769
Merge branch 'master' of git://github.com/pmd/pmd into enhancement-1573
2019-02-04 10:51:41 +00:00
Shubham
86c72a87b4
Try Statement added to list of block parents
...
ASTTryStatement added to BLOCK_PARENTS.
2019-02-04 15:29:23 +05:30
tomdaly
295c945978
Add property to allow apex test methods to contain underscores
...
Add a 'skipTestMethodUnderscore' boolean property that allows an
annotated Apex test method (@isTest or testMethod) to contain underscores
Fixes issue #1573
2019-02-03 19:11:40 +00:00
Juan Martín Sotuyo Dodero
db2348baec
Merge branch 'pr-1637'
2019-02-02 13:58:39 -03:00
Juan Martín Sotuyo Dodero
f1c0afddab
Update changelog, refs #1637
2019-02-02 13:58:00 -03:00
Juan Martín Sotuyo Dodero
422f44cf1a
Add todo for follow up improvements
2019-02-02 13:56:29 -03:00
Shubham
1e1d6aafae
code review changes
2019-02-02 20:38:23 +05:30
Juan Martín Sotuyo Dodero
d5b3da2c11
Merge branch 'pr-1640'
2019-02-01 19:26:41 -03:00
Juan Martín Sotuyo Dodero
6d17dc2e45
Update changelog, refs #1640
2019-02-01 19:25:35 -03:00
Phokham Nonava
f0830eb973
Update instead of override classHasLombokAnnotation flag
...
Fixes issues where inner classes would override this flag.
2019-02-01 22:59:04 +01:00
Shubham
23ce8435e4
all compile time constants are avoided by AccessorMethodGenerationRule
2019-02-01 19:36:51 +05:30
Shubham
7a5ed78a73
constants initialized by literals avoided by AccessorMethodGenerationRule
...
Compile time constants with literals only expression avoiding AccessorMethodGenerationRule.
2019-01-31 15:40:22 +05:30
Travis CI (pmd-bot)
bd7c6c3a17
Update documentation
...
TRAVIS_JOB_NUMBER=3387.1
TRAVIS_COMMIT_RANGE=0ae9ed045b8e...e2a4b744fd54
2019-01-30 15:45:01 +00:00
Juan Martín Sotuyo Dodero
e2a4b744fd
Merge branch 'pr-1634'
2019-01-30 12:27:17 -03:00
Juan Martín Sotuyo Dodero
db3d1c8362
Update changelog, refs #1634
2019-01-30 12:26:17 -03:00
Juan Martín Sotuyo Dodero
0ae9ed045b
Merge branch 'pr-1635'
2019-01-30 12:16:09 -03:00
Juan Martín Sotuyo Dodero
0703b041a8
Update changelog, refs #1635
2019-01-30 12:15:53 -03:00
Shubham
0547897934
Reviewed code updated
2019-01-30 19:43:09 +05:30
Shubham
cb0c70f1ac
Review changes implemented
2019-01-30 18:58:47 +05:30
Shubham
d1c75ccff4
Unused Formatter need not be checked for synchronization.
2019-01-30 14:57:39 +05:30
Shubham
149f85a7e4
#1633 [java] UnsynchronizedStaticFormatter reports commons lang FastDateFormat
...
Thread safe formatter org.apache.commons.lang3.time.FastDateFormat can not avoid UnsynchronizedStaticFormatterRule.
2019-01-30 14:02:17 +05:30
Shubham
9532552eaa
BeanMembersShouldSerializeRule aware of lombok accessors
...
Extended AbstractLombokAwareRule to make BeanMembersShouldSerializeRule aware of lombok annotations. Checking if class or any of the variables have lombok annotations and avoid BeanMembersShouldSerializeRule on these variables.
2019-01-30 11:09:44 +05:30