3abfc2fccb
#1397 StringToString should ignore method references
2015-09-07 20:01:18 +02:00
100dd09b28
#1398 False positive for GuardLogStatementJavaUtil with Log4j
2015-09-06 11:06:48 +02:00
a1ab0d6657
#1399 False positive for VariableNamingConventions with annotation @interface
2015-09-05 19:53:05 +02:00
f0dd2b0519
#1400 False positive with JUnit4TestShouldUseBeforeAnnotation
2015-09-05 19:39:31 +02:00
58292bfc38
#1401 False positive for StringBuilder.append called with constructor
2015-09-05 12:10:38 +02:00
b0e657a3d8
Merge branch 'pmd/5.3.x' into master
2015-09-04 22:02:40 +02:00
bd83821dd9
Fix unit test
2015-09-04 21:58:01 +02:00
c0c79e522f
#1371 fix unit test
2015-09-04 21:55:16 +02:00
abe800dfa9
Fixed InsufficientStringBufferDeclaration error detection.
...
Summary:
Added new method to obtaint the lenght of strings added after a constructor.
Added new test for this case.
Fix: http://sourceforge.net/p/pmd/bugs/1371/
Test Plan: Run tests.
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D12322
2015-09-04 21:53:45 +02:00
b95433b059
#1371 fix unit test
2015-09-04 21:48:18 +02:00
f975ff4a1e
Merge branch 'addCheckInsufficientStringBufferDeclarationRule' of https://github.com/Monits/pmd into Monits-addCheckInsufficientStringBufferDeclarationRule
2015-09-04 21:35:35 +02:00
203e39b9b3
Added a new if to check for the append statements after an append contructor.
...
Summary:
Now the rule check for appends after a contructor call.
Added a new test for this case.
Issue: http://sourceforge.net/p/pmd/bugs/1370/
Test Plan: Run tests.
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D12292
2015-09-04 21:34:38 +02:00
7a82a527bb
Merge branch 'newCheckConsecutiveAppendsShouldReuseRule' of https://github.com/Monits/pmd into Monits-newCheckConsecutiveAppendsShouldReuseRule
2015-09-04 21:27:46 +02:00
22671445e2
#1370 ConsecutiveAppendsShouldReuse not detected properly on StringBuffer
...
Extended unit test
2015-09-04 20:15:07 +02:00
dd8262cf69
Added new append validation.
...
Check for an append even when the block first child is a LocalVariableDeclaration.
Added new test to check the validation.
Issue: http://sourceforge.net/p/pmd/bugs/1370/
2015-09-04 20:14:09 +02:00
c8990a7977
#1370 ConsecutiveAppendsShouldReuse not detected properly on StringBuffer
...
Extended unit test
2015-09-04 20:06:55 +02:00
aa49f97b22
Merge branch 'missingCheckConsecutiveAppendsShouldReuse' of https://github.com/Monits/pmd into Monits-missingCheckConsecutiveAppendsShouldReuse
2015-09-04 19:57:23 +02:00
443d5094de
Merge branch 'fixUselessOverridingMethodRule' of https://github.com/Monits/pmd into Monits-fixUselessOverridingMethodRule
2015-09-04 19:39:58 +02:00
3ac7a5bcf6
Merge branch 'master' of https://github.com/ghenkes/pmd into ghenkes-master
2015-09-04 19:13:36 +02:00
cfe91ac728
Merge branch 'addCloneMethodMustBePublicRule' of https://github.com/Monits/pmd into Monits-addCloneMethodMustBePublicRule
2015-09-04 19:02:05 +02:00
d117c9987b
Fix list/array out of bounds for CommentDefaultAccessModifierRule and Enums
2015-08-31 20:00:47 +02:00
36f48c9159
Update changelog, add the new rule to 540.xml
2015-08-31 18:01:03 +02:00
7ea022a230
Merge branch 'addCloneMethodReturnTypeMustMatchClassNameRule' of https://github.com/Monits/pmd into Monits-addCloneMethodReturnTypeMustMatchClassNameRule
2015-08-31 17:54:38 +02:00
87b3f7d496
Added a new if to check for the append statements after an append contructor.
...
Summary:
Now the rule check for appends after a contructor call.
Added a new test for this case.
Issue: http://sourceforge.net/p/pmd/bugs/1370/
Test Plan: Run tests.
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D12292
2015-08-31 12:50:53 -03:00
ef0c8c9d27
Fixed InsufficientStringBufferDeclaration error detection.
...
Summary:
Added new method to obtaint the lenght of strings added after a constructor.
Added new test for this case.
Fix: http://sourceforge.net/p/pmd/bugs/1371/
Test Plan: Run tests.
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D12322
2015-08-31 12:12:09 -03:00
665f1ec5d1
Added new append validation.
...
Check for an append even when the block first child is a LocalVariableDeclaration.
Added new test to check the validation.
Issue: http://sourceforge.net/p/pmd/bugs/1370/
2015-08-21 18:14:45 -03:00
3cf58cb43a
Fix statement cast in UselessOverridingMethodRule class.
...
Summary: Now using the parent Node class to avoid the ClassCastException.
Test Plan: Added new test for the modified class. Run tests
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D12213
2015-08-19 17:29:48 -03:00
d9d02edb06
Add language version attribute
...
Test Plan: mvn test
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Subscribers: jmsotuyo
Differential Revision: http://ph.monits.com/D12205
2015-08-19 09:26:14 -03:00
822140337e
Change CheckResultSet to allow for the result of the navigation methods to be returned
2015-08-10 15:30:11 -05:00
72db30c87e
Update changelog and add new rule to 540.xml
2015-08-10 21:10:47 +02:00
b9339b77c0
Merge branch 'addUselessQualifiedThisRule' of https://github.com/Monits/pmd into Monits-addUselessQualifiedThisRule
2015-08-10 21:05:54 +02:00
166057c355
Merge branch 'fixUseAssertTrueInsteadOfAssertEqualsRule' of https://github.com/Monits/pmd into Monits-fixUseAssertTrueInsteadOfAssertEqualsRule
2015-08-10 20:56:54 +02:00
89a3d5dd1e
#1384 NullPointerException in ConsecutiveLiteralAppendsRule
2015-08-01 20:28:38 +02:00
4a5a80197b
Add CloneMethodMustBePublic rule
...
Test Plan: mvn test
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D12023
2015-07-31 17:58:05 -03:00
445bd2d260
Add CloneMethodReturnTypeMustMatchClassName rule
...
Test Plan: mvn test
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D12031
2015-07-31 17:13:04 -03:00
0bf765be04
Update changelog
2015-07-29 20:16:07 +02:00
0850252bda
Merge branch 'addUnnecessaryLiteralBooleanInTernaryOperatorRule' of https://github.com/Monits/pmd into Monits-addUnnecessaryLiteralBooleanInTernaryOperatorRule
2015-07-29 20:09:50 +02:00
454be6f1f1
Add UselessQualifiedThisRule
...
Summary: Look for Qualified This usages in the same class
Test Plan: mvn test
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D11981
2015-07-28 09:28:00 -03:00
f963f76fd4
Update changelog, improve test for new CommentDefaultAccessModifier rule
2015-07-26 19:20:47 +02:00
3b60cac700
Merge branch 'addCommentDefaultModifierRule' of https://github.com/Monits/pmd into Monits-addCommentDefaultModifierRule
2015-07-26 19:11:21 +02:00
e299dffc2f
Merge branch 'pmd/5.3.x'
2015-07-25 20:11:45 +02:00
0671c2e478
[maven-release-plugin] prepare for next development iteration
2015-07-25 15:28:23 +02:00
1348ed8e06
[maven-release-plugin] prepare release pmd_releases/5.3.3
2015-07-25 15:28:22 +02:00
df6f1afa46
Add check to Boxed booleans in UseAssertTrueInsteadOfAssertEquals rule
...
Test Plan: mvn test
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D11963
2015-07-24 12:03:07 -03:00
e0cd7adeef
Add rule for unnecessary boolean in conditionals espressions
...
Summary: Add rule for unnecessary literals boolean in conditionals espressions
Test Plan: mvn test
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D11961
2015-07-23 17:07:15 -03:00
89e7d0433a
Add default access modifier as comment rule
...
Summary: Add rule to look for methods and fields that have a default access modifier
Test Plan: mvn test
Reviewers: jmsotuyo
Reviewed By: jmsotuyo
Differential Revision: http://ph.monits.com/D11936
2015-07-22 15:31:19 -03:00
e93e9224ae
#1381 CPD Cannot use CSV/VS Renderers because they don't support encoding property
2015-07-19 22:34:57 +02:00
617ca01a68
#1369 ConsecutiveLiteralAppends not detected properly on StringBuffer
2015-06-29 20:28:53 +02:00
ee5885065e
reformat, whitespace
2015-06-29 19:58:48 +02:00
8dc25abcfe
#1376 CompareObjectsWithEquals fails for type annotated method parameter
2015-06-28 21:51:04 +02:00