Browse Source

allow redundant throws, do not allow illegalimport

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@568200 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 18 years ago
parent
commit
395ad149e6
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/etc/checkstyle/checkstyle-config

+ 4
- 2
src/etc/checkstyle/checkstyle-config View File

@@ -34,7 +34,7 @@

<!-- Import conventions -->
<module name="AvoidStarImport"/>
<!-- <module name="IllegalImport"/> -->
<module name="IllegalImport"/>
<module name="RedundantImport"/>
<module name="UnusedImports"/>

@@ -83,9 +83,11 @@
<module name="InnerAssignment"/>
<module name="MagicNumber"/>
<module name="MissingSwitchDefault"/>
<!-- Allow redundant throw declarations for doc purposes
<module name="RedundantThrows">
<property name="allowUnchecked" value="true"/>
</module>
-->
<module name="SimplifyBooleanExpression"/>
<module name="SimplifyBooleanReturn"/>

@@ -113,4 +115,4 @@
<property name="onCommentFormat" value="CheckStyle\:([\w\|]+) *ON"/>
<property name="checkFormat" value="$1"/>
</module>
</module>
</module>

Loading…
Cancel
Save