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
7a82a527bb
Merge branch 'newCheckConsecutiveAppendsShouldReuseRule' of https://github.com/Monits/pmd into Monits-newCheckConsecutiveAppendsShouldReuseRule
2015-09-04 21:27:46 +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
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
2b92e22546
#1372 False Negative for CloseResource rule.
...
already fixed with #1375
2015-06-20 18:38:09 +02:00
1b35a59997
#1375 CloseResource not detected properly
2015-06-20 18:15:02 +02:00
79ea3fae79
Merge branch 'pmd/5.3.x' into master
2015-06-06 19:32:41 +02:00
d28e4f1fb5
#1366 UselessParentheses false positive on multiple equality operators
2015-06-01 20:06:01 +02:00
19a13c0ab9
#1364 FieldDeclarationsShouldBeAtStartOfClass false positive using multiple annotations
2015-05-31 10:29:42 +02:00
f9b3f4ce4a
Merge branch 'pmd/5.3.x' into master
2015-05-22 19:46:19 +02:00
793af091c0
[maven-release-plugin] prepare for next development iteration
2015-05-22 18:23:42 +02:00
2c99fbd5e5
[maven-release-plugin] prepare release pmd_releases/5.3.2
2015-05-22 18:23:41 +02:00
7e0cd20740
fix wrong copy-pasted comment
2015-05-20 20:40:29 +02:00
869d4c7005
#1361 ShortVariable and ShortMethodName configuration
2015-05-20 20:34:32 +02:00
b50e49777f
#1355 NullPointerException in a java file having a single comment line
2015-05-18 21:17:16 +02:00
a416513fc9
reformat, whitespaces
2015-05-18 21:14:12 +02:00
357f206102
#1330 AvoidReassigningParameters does not work with varargs
2015-05-15 20:24:06 +02:00