diff options
author | rnveach <rveach02@gmail.com> | 2016-05-15 11:14:17 -0400 |
---|---|---|
committer | rnveach <rveach02@gmail.com> | 2016-05-27 09:42:49 -0400 |
commit | 39b343a32a4f1ce18ee98a34618fda0a5404d6a0 (patch) | |
tree | 4bb62d3ec030aa1d1b7f21eebb34572f411ccbc6 /config/checkstyle_checks.xml | |
parent | 2483ddc5a4d286891da1922cadf9e66547a7ec48 (diff) | |
download | checkstyle-39b343a32a4f1ce18ee98a34618fda0a5404d6a0.tar.gz |
Issue #3143: forbid empty return statements and fixed violations
Diffstat (limited to 'config/checkstyle_checks.xml')
-rw-r--r-- | config/checkstyle_checks.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/checkstyle_checks.xml b/config/checkstyle_checks.xml index c153ada55..d4585fa60 100644 --- a/config/checkstyle_checks.xml +++ b/config/checkstyle_checks.xml @@ -231,7 +231,9 @@ <module name="PackageDeclaration"/> <module name="ParameterAssignment"/> <module name="RequireThis"/> - <module name="ReturnCount"/> + <module name="ReturnCount"> + <property name="maxForVoid" value="0"/> + </module> <module name="SimplifyBooleanExpression"/> <module name="SimplifyBooleanReturn"/> <module name="StringLiteralEquality"/> |