This repository has been archived by the owner on Jan 17, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
101 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?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"> | ||
|
||
<module name="RegexpSingleline"> | ||
<!-- \s matches whitespace character, $ matches end of line. --> | ||
<property name="format" value="\s+$"/> | ||
<property name="message" value="Line has trailing spaces."/> | ||
</module> | ||
|
||
<module name="TreeWalker"> | ||
|
||
<property name="cacheFile" value="${checkstyle.cache.file}"/> | ||
|
||
<!-- ensure we have tabs only --> | ||
<module name="RegexpSinglelineJava"> | ||
<property name="format" value="^\t* +\t*\S"/> | ||
<property name="message" value="Line has leading space characters; indentation should be performed with tabs only."/> | ||
<property name="ignoreComments" value="true"/> | ||
</module> | ||
|
||
<!-- Modifier Checks --> | ||
<module name="ModifierOrder"/> | ||
<module name="RedundantModifier"/> | ||
|
||
<!-- Checks for common coding problems --> | ||
<!-- Disabled until http://sourceforge.net/tracker/?func=detail&aid=2843447&group_id=29721&atid=397078 is fixed--> | ||
<!--<module name="DoubleCheckedLocking"/>--> | ||
<module name="EmptyStatement"/> | ||
<module name="EqualsHashCode"/> | ||
<module name="IllegalInstantiation"/> | ||
<module name="RedundantThrows"> | ||
<property name="allowUnchecked" value="true"/> | ||
</module> | ||
|
||
<!-- Miscellaneous other checks. --> | ||
<module name="UpperEll"/> | ||
<module name="PackageAnnotation"/> | ||
<module name="CovariantEquals"/> | ||
<module name="ArrayTypeStyle"/> | ||
|
||
</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
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
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