-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change to Unix line-ending (
\n
) & double space indentation
- Loading branch information
Showing
114 changed files
with
20,686 additions
and
20,624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC | ||
"-//Puppy Crawl//DTD Check Configuration 1.2//EN" | ||
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> | ||
|
||
<module name="Checker"> | ||
<!--Checks whether files end with a new line.--> | ||
<module name="NewlineAtEndOfFile"> | ||
<property name="lineSeparator" value="lf"/> | ||
<property name="fileExtensions" value="java, xml, properties, js, html, css" /> | ||
</module> | ||
|
||
<module name="FileLength"> | ||
<property name="max" value="4000"/> | ||
</module> | ||
|
||
<!-- <module name="LineLength"> | ||
<property name="max" value="180"/> | ||
</module>--> | ||
|
||
<module name="FileTabCharacter"/> | ||
|
||
<module name="TreeWalker"> | ||
<module name="RegexpSinglelineJava"> | ||
<property name="format" value="\s+$"/> | ||
<property name="message" value="Line has trailing whitespace."/> | ||
<property name="ignoreComments" value="true"/> | ||
</module> | ||
|
||
<!--Checks for imports--> | ||
<!--<module name="AvoidStarImport"/>--> | ||
<module name="IllegalImport"/> | ||
<module name="RedundantImport"/> | ||
<module name="UnusedImports"/> | ||
<module name="MethodParamPad"> | ||
<property name="option" value="nospace"/> | ||
<property name="allowLineBreaks" value="false"/> | ||
</module> | ||
|
||
<!--Checks for Size Violations.--> | ||
<module name="MethodLength"> | ||
<property name="max" value="700"/> | ||
</module> | ||
<module name="ParameterNumber"> | ||
<property name="max" value="20"/> | ||
</module> | ||
|
||
<!--Checks for whitespace--> | ||
<module name="EmptyForIteratorPad"/> | ||
<module name="MethodParamPad"/> | ||
<module name="NoWhitespaceAfter"/> | ||
<module name="NoWhitespaceBefore"/> | ||
<!--<module name="OperatorWrap"/>--> | ||
<module name="WhitespaceAfter"> | ||
<property name="tokens" value="COMMA, SEMI, LITERAL_IF, LITERAL_ELSE, LITERAL_WHILE, LITERAL_DO, LITERAL_FOR, DO_WHILE "/> | ||
</module> | ||
<module name="ParenPad"/> | ||
<module name="TypecastParenPad"/> | ||
<module name="GenericWhitespace"/> | ||
|
||
<!--Modifier Checks--> | ||
<module name="ModifierOrder"/> | ||
<module name="RedundantModifier"/> | ||
<module name="PackageAnnotation"/> | ||
|
||
<!--Checks for blocks. You know, those {}'s--> | ||
<module name="AvoidNestedBlocks"/> | ||
<module name="EmptyBlock"> | ||
<property name="option" value="text"/> | ||
<property name="tokens" value="LITERAL_TRY"/> | ||
</module> | ||
<module name="LeftCurly"> | ||
<property name="option" value="nl"/> | ||
<property name="tokens" value="CLASS_DEF,INTERFACE_DEF"/> | ||
</module> | ||
<module name="RightCurly"> | ||
<property name="option" value="alone_or_singleline"/> | ||
<property name="tokens" value="LITERAL_IF, METHOD_DEF"/> | ||
</module> | ||
|
||
<!--Checks for common coding problems--> | ||
<module name="InnerAssignment"/> | ||
<module name="EmptyStatement"/> | ||
<module name="EqualsHashCode"/> | ||
<module name="IllegalInstantiation"/> | ||
<module name="SimplifyBooleanExpression"/> | ||
<module name="SimplifyBooleanReturn"/> | ||
<module name="CovariantEquals"/> | ||
<module name="ModifiedControlVariable"/> | ||
<module name="OneStatementPerLine"/> | ||
<module name="EmptyStatement"/> | ||
<module name="DefaultComesLast"/> | ||
|
||
<!--Checks for class design--> | ||
<!-- <module name="VisibilityModifier"/>--> | ||
<module name="FinalClass"/> | ||
<module name="InterfaceIsType"/> | ||
|
||
<!--Miscellaneous other checks.--> | ||
<module name="ArrayTypeStyle"/> | ||
<module name="TodoComment"/> | ||
<module name="UpperEll"/> | ||
<module name="CyclomaticComplexity"> | ||
<property name="max" value="36"/> | ||
</module> | ||
|
||
</module> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Configuration of the logging service occurs in file "simplelog.properties". | ||
org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog | ||
# Configuration of the logging service occurs in file "simplelog.properties". | ||
org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog |
Oops, something went wrong.