mirror of https://github.com/apache/ant-ivy
Update checkstyle configuration for version 5.7
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1552014 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dff4cea141
commit
660bab71f7
4
.project
4
.project
|
|
@ -34,7 +34,7 @@
|
|||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder</name>
|
||||
<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
<natures>
|
||||
<nature>org.eclipse.pde.PluginNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>com.atlassw.tools.eclipse.checkstyle.CheckstyleNature</nature>
|
||||
<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
|
||||
<nature>org.apache.ivyde.eclipse.ivynature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,17 @@
|
|||
under the License.
|
||||
-->
|
||||
<module name="Checker">
|
||||
|
||||
<!-- required licence file -->
|
||||
<module name="Header">
|
||||
<property name="headerFile" value="${checkstyle.src.dir}/RequiredHeader.txt"/>
|
||||
<property name="ignoreLines" value="2"/>
|
||||
</module>
|
||||
|
||||
<!-- Items moved out of TreeWalker for new versions of Checkstyle -->
|
||||
<module name="FileLength"/>
|
||||
<module name="FileTabCharacter"/>
|
||||
|
||||
<module name="TreeWalker">
|
||||
<!-- Javadoc requirements -->
|
||||
<!-- TODO uncomment this when javadoc will be improved
|
||||
|
|
@ -45,12 +56,6 @@
|
|||
<module name="ParameterName"/>
|
||||
<module name="StaticVariableName"/>
|
||||
|
||||
<!-- required licence file -->
|
||||
<module name="Header">
|
||||
<property name="headerFile" value="${checkstyle.src.dir}/RequiredHeader.txt"/>
|
||||
<property name="ignoreLines" value="2"/>
|
||||
</module>
|
||||
|
||||
<!-- Import conventions -->
|
||||
<module name="AvoidStarImport"/>
|
||||
<!-- <module name="IllegalImport"/> -->
|
||||
|
|
@ -58,7 +63,6 @@
|
|||
<module name="UnusedImports"/>
|
||||
|
||||
<!-- size limits -->
|
||||
<module name="FileLength"/>
|
||||
<module name="LineLength">
|
||||
<property name="max" value="100"/>
|
||||
<property name="ignorePattern" value="^ *\* *[^ ]+$"/>
|
||||
|
|
@ -73,7 +77,6 @@
|
|||
<module name="NoWhitespaceBefore"/>
|
||||
<module name="OperatorWrap"/>
|
||||
<module name="ParenPad"/>
|
||||
<module name="TabCharacter"/>
|
||||
<module name="WhitespaceAfter"/>
|
||||
<module name="WhitespaceAround"/>
|
||||
|
||||
|
|
@ -93,7 +96,7 @@
|
|||
|
||||
<!-- Checks for common coding problems -->
|
||||
<!--<module name="AvoidInlineConditionals"/> -->
|
||||
<module name="DoubleCheckedLocking"/>
|
||||
<!--<module name="DoubleCheckedLocking"/>--> <!-- removed in checkstyle 5.6 -->
|
||||
<module name="EmptyStatement"/>
|
||||
<module name="EqualsHashCode"/>
|
||||
<module name="IllegalInstantiation">
|
||||
|
|
|
|||
Loading…
Reference in New Issue