382 Commits

Author SHA1 Message Date
Juan Martín Sotuyo Dodero
2ec75e7050 Add ConstantsInInterface rule. Effective Java, 19 2016-05-20 16:59:02 -03:00
Dionisio Cortes Fernandez
511c7778c5 Small code enhancements, basically reordering variable declarations, constructors and variable modifiers 2016-05-15 22:41:26 +02:00
Andreas Dangel
4405312c1b Refactor PMDTaskTest in java, too using BuildFileRule 2016-05-05 19:06:31 +02:00
Andreas Dangel
d6a06716e0 Merge branch 'bug-1470' 2016-04-30 19:27:59 +02:00
Andreas Dangel
81378fe8ed Fixes #1470 Error with type-bound lambda 2016-04-30 19:14:46 +02:00
Andreas Dangel
156963d568 Merge branch 'bug-1475' 2016-04-30 18:43:31 +02:00
Andreas Dangel
325fcaf5e4 Fixes #1475 False positive of MethodReturnsInternalArray 2016-04-30 18:33:39 +02:00
Andreas Dangel
cd6e3851d9 Merge branch 'bug-1476' 2016-04-30 12:33:07 +02:00
Andreas Dangel
b9b0059797 Fixes #1476 False positive of ArrayIsStoredDirectly 2016-04-30 11:46:29 +02:00
Andreas Dangel
a00e4d439e Merge branch 'bug-1471' 2016-04-23 19:54:52 +02:00
Andreas Dangel
176cc2344d Fix NPEs 2016-04-23 19:43:13 +02:00
Andreas Dangel
cb5ac3086e Fixes #1471 False positives for DoubleCheckedLocking 2016-04-23 19:34:32 +02:00
Andreas Dangel
839a874157 Fix LanguageVersionTest for Java, add for Apex 2016-04-13 21:13:15 +02:00
Andreas Dangel
bc902cee19 Merge branch 'bug-1467' 2016-04-01 21:43:54 +02:00
Andreas Dangel
3d84e3af74 Fixes #1467 UseUtilityClass can't correctly check functions with multiple annotations 2016-04-01 19:04:53 +02:00
Andreas Dangel
ee131a3553 Merge branch 'bug-1464' 2016-02-28 15:13:10 +01:00
Andreas Dangel
573186be69 fixes #1464 UnnecessaryFinalModifier false positive on a @SafeVarargs method 2016-02-28 14:22:04 +01:00
Andreas Dangel
1402e9320b Merge branch 'pr-85'
Closes #85
Note: pr-85 has been rebased onto pmd/5.3.x
2016-02-28 14:06:29 +01:00
Andreas Dangel
fc35a162d9 Update changelog, whitespaces, improve test case 2016-02-28 14:01:32 +01:00
albfernandez
08fb59180d remove trailing spaces 2016-02-28 13:07:03 +01:00
albfernandez
40bf82244f Fix the fix for #1340 2016-02-28 13:07:03 +01:00
albfernandez
3c0516b86f Fix #1340 UseStringBufferForStringAppends False Positive with ternary
operator (used both in condition and options)
2016-02-28 13:07:03 +01:00
Andreas Dangel
f9c6b0b08d Merge branch 'bug-1465' 2016-02-27 19:38:39 +01:00
Andreas Dangel
1c08f94691 fixes #1465 False Positve UnusedImports with javadoc @link 2016-02-27 19:30:16 +01:00
Andreas Dangel
7f273da019 Merge branch 'bug-1457' 2016-02-07 12:39:33 +01:00
Andreas Dangel
079ffeb4df fixes #1457 TooManyMethods counts inner class methods 2016-02-07 12:31:49 +01:00
Andreas Dangel
a26564a5f6 Merge branch 'bug-1456' 2016-02-07 12:16:58 +01:00
Andreas Dangel
89ffb56e4e fixes #1456 UnusedFormalParameter should ignore overriding methods 2016-02-07 12:03:30 +01:00
Andreas Dangel
c4b50e7e3c Merge branch 'bug-1424' 2016-02-01 22:15:52 +01:00
Andreas Dangel
cfaaf2f52a fixes #1424 False positive with ternary operator 2016-02-01 22:10:38 +01:00
Andreas Dangel
cf71f252a5 Merge branch 'bug-1453' 2016-01-28 22:29:59 +01:00
Andreas Dangel
62da34ccce Merge branch 'bug-1453' into pmd/5.4.x 2016-01-28 22:29:13 +01:00
Andreas Dangel
b9f8f2d4fb fixes #1453 Test Class Without Test Cases gives false positive 2016-01-28 22:24:34 +01:00
Andreas Dangel
eefba9dcc6 java-unnecessary/UselessParentheses - add another test for
http://stackoverflow.com/questions/34911230/pmd-uselessparentheses-violation
2016-01-28 22:10:21 +01:00
Andreas Dangel
56f21cf325 Merge branch 'emptymethodabstractmessage' of https://github.com/Monits/pmd into Monits-emptymethodabstractmessage 2016-01-28 21:47:56 +01:00
Andreas Dangel
7864c139f5 Merge branch 'bug-1455' 2016-01-25 10:41:10 +01:00
Andreas Dangel
d4c4ab4e7e Merge branch 'bug-1455' into pmd/5.4.x 2016-01-25 10:36:34 +01:00
Andreas Dangel
e6f5380719 fixes #1455 PMD doesn't handle Java 8 explicit receiver parameters
Those parameters are correctly parsed now and can be found
with "//FormalParameter[@ExplicitReceiverParameter='true']"
2016-01-25 10:29:00 +01:00
Andreas Dangel
5d7ea7d6aa Merge branch 'bug-1449' 2016-01-24 17:40:35 +01:00
Andreas Dangel
55685046ac Merge branch 'bug-1449' into pmd/5.4.x 2016-01-24 17:33:28 +01:00
Andreas Dangel
44a8c0defe fixes #1449 false positive when casting a variable to short 2016-01-24 17:18:50 +01:00
Ignacio Tirabasso
55453cc23d Fix rule's description. 2016-01-21 15:22:48 -03:00
Ignacio Tirabasso
371db089c9 Change EmptyMethodInAbstractClassShouldBeAbstract rule's description.
Summary: Change EmptyMethodInAbstractClassShouldBeAbstract rule's description.

Test Plan: run tests

Reviewers: jmsotuyo

Differential Revision: http://ph.monits.com/D14582
2016-01-21 15:09:27 -03:00
Andreas Dangel
260e777d71 Fix unit test 2016-01-20 22:47:15 +01:00
Andreas Dangel
2b700c02b6 Fix unit test 2016-01-20 22:33:50 +01:00
Andreas Dangel
3e791f5d22 Merge branch 'pr-30' 2016-01-20 22:25:40 +01:00
Andreas Dangel
bd64e4fdc6 Merge branch 'pr-30' into pmd/5.4.x 2016-01-20 22:24:08 +01:00
Andreas Dangel
8c4d307ddd Refactor command line tests for CPD and create a BaseCPDCLITest class 2016-01-20 22:13:25 +01:00
Andreas Dangel
531c88b103 Merge branch 'bug-1452' 2016-01-15 10:44:10 +01:00
Andreas Dangel
0cdc14deed Merge branch 'bug-1452' into pmd/5.4.x 2016-01-15 10:42:56 +01:00