c9f623ca7b
Remove deprecated rules
2015-10-04 11:12:16 +02:00
b5c2932051
Add unit test for #1414
2015-10-04 10:07:05 +02:00
39cfbc238b
#1420 UnusedPrivateField: Ignore fields if using lombok
2015-10-04 09:52:22 +02:00
bbd0bf98fd
#1414 Command line parameter to disable "failOnViolation" behavior
2015-09-26 17:08:20 +02:00
38741d4638
Improve exit status documentation for PMD and CPD
2015-09-26 16:18:24 +02:00
1ae4400ec0
Merge branch 'pmd/5.3.x'
2015-09-26 15:25:52 +02:00
98278cfdfc
#1413 False positive StringBuffer constructor with ?: int value
2015-09-26 11:08:21 +02:00
145780de9c
#1407 UselessParentheses "&" and "+" operator precedence
2015-09-26 10:23:43 +02:00
f3da33cca2
#1387 CloseResource has false positive for ResultSet
2015-09-26 09:55:02 +02:00
b965cf45b3
#1412 UnusedPrivateMethod false positive: Issue #1403 not completely solved
2015-09-22 21:55:06 +02:00
d8d8a9539f
#1409 NullPointerException in InsufficientStringBufferRule
2015-09-20 20:51:09 +02:00
365e7a1f68
#1410 DefaultPackage triggers on field annotated with @VisibleForTesting
2015-09-20 20:24:46 +02:00
aa5950fa41
Merge branch 'pmd/5.3.x' into master
...
# Conflicts:
# pmd-core/pom.xml
# pmd-cpp/pom.xml
# pmd-cs/pom.xml
# pmd-dist/pom.xml
# pmd-fortran/pom.xml
# pmd-go/pom.xml
# pmd-java/pom.xml
# pmd-java8/pom.xml
# pmd-javascript/pom.xml
# pmd-jsp/pom.xml
# pmd-matlab/pom.xml
# pmd-objectivec/pom.xml
# pmd-php/pom.xml
# pmd-plsql/pom.xml
# pmd-python/pom.xml
# pmd-ruby/pom.xml
# pmd-scala/pom.xml
# pmd-test/pom.xml
# pmd-vm/pom.xml
# pmd-xml/pom.xml
# pom.xml
# src/site/markdown/overview/changelog.md
2015-09-18 14:02:28 +02:00
819611dd23
[maven-release-plugin] prepare for next development iteration
2015-09-18 12:36:07 +02:00
0ffbe97a04
[maven-release-plugin] prepare release pmd_releases/5.3.4
2015-09-18 12:36:06 +02:00
0f48fd501d
#1393 PMD hanging during DataflowAnomalyAnalysis
2015-09-18 10:17:01 +02:00
ad1ffa5835
#1404 Java8 'Unnecessary use of fully qualified name' in Streams Collector
2015-09-16 22:11:18 +02:00
64012cc0b4
verified #1405 UnusedPrivateMethod false positive?
2015-09-16 21:37:17 +02:00
c7df93d22a
More braces for code samples with if
2015-09-15 08:17:11 +02:00
2500412b14
#1403 False positive UnusedPrivateMethod with JAVA8
2015-09-14 22:36:05 +02:00
9f6190f3b6
#1380 InsufficientStringBufferDeclaration false positive when literal string passed to a lookup service
2015-09-13 10:20:58 +02:00
9e620c2661
#1388 ConstructorCallsOverridableMethodRule doesn't work with params?
2015-09-12 17:56:45 +02:00
ac9fd51f84
#1392 SimplifyStartsWith false-negative
2015-09-11 12:22:49 +02:00
bbb9b4d9d9
Fix code example
...
Please, use proper java code style in your own examples. An if statement without brackets? More cases all over the examples
2015-09-11 11:20:53 +01:00
1984f5ac8a
#1395 UnusedPrivateMethod false positive for array element method call
2015-09-08 19:45:49 +02:00
b553c52ef5
#1396 PrematureDeclaration lambda false positive
2015-09-07 20:23:10 +02:00
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