2012-10-26 12:34:48 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE module PUBLIC "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
|
|
|
|
|
|
|
|
<module name="Checker">
|
|
|
|
<property name="severity" value="warning"/>
|
2012-10-29 00:15:56 -04:00
|
|
|
<module name="NewlineAtEndOfFile"/>
|
2012-10-26 12:34:48 -04:00
|
|
|
<module name="TreeWalker">
|
2012-11-01 21:57:37 -04:00
|
|
|
<module name="EmptyStatement"/>
|
2012-11-04 18:48:44 -05:00
|
|
|
<module name="IllegalThrows"/>
|
2012-10-26 12:34:48 -04:00
|
|
|
<module name="LineLength">
|
|
|
|
<property name="ignorePattern" value="^import\s.*;$"/>
|
|
|
|
<property name="max" value="120"/>
|
|
|
|
</module>
|
2012-11-01 22:49:46 -04:00
|
|
|
<module name="ModifierOrder"/>
|
2012-11-01 23:11:23 -04:00
|
|
|
<module name="MultipleVariableDeclarations"/>
|
2012-10-29 01:40:23 -04:00
|
|
|
<module name="UnusedImports"/>
|
2012-10-26 12:34:48 -04:00
|
|
|
</module>
|
2012-11-04 21:48:09 -05:00
|
|
|
<module name="RegexpMultiline">
|
|
|
|
<property name="format" value="=\s*new ArrayList<[^>]"/>
|
|
|
|
<property name="message" value="Prefer com.google.common.collect.Lists"/>
|
|
|
|
</module>
|
|
|
|
<module name="RegexpMultiline">
|
|
|
|
<property name="format" value="=\s*new HashMap<[^>]"/>
|
|
|
|
<property name="message" value="Prefer com.google.common.collect.Maps"/>
|
|
|
|
</module>
|
|
|
|
<module name="RegexpMultiline">
|
|
|
|
<property name="format" value="=\s*new HashSet<[^>]"/>
|
|
|
|
<property name="message" value="Prefer com.google.common.collect.Sets"/>
|
|
|
|
</module>
|
|
|
|
<module name="RegexpMultiline">
|
|
|
|
<property name="format" value="=\s*new LinkedHashMap<[^>]"/>
|
|
|
|
<property name="message" value="Prefer com.google.common.collect.Maps"/>
|
|
|
|
</module>
|
|
|
|
<module name="RegexpMultiline">
|
|
|
|
<property name="format" value="=\s*new LinkedHashSet<[^>]"/>
|
|
|
|
<property name="message" value="Prefer com.google.common.collect.Sets"/>
|
|
|
|
</module>
|
|
|
|
<module name="RegexpMultiline">
|
|
|
|
<property name="format" value="=\s*new LinkedList<[^>]"/>
|
|
|
|
<property name="message" value="Prefer com.google.common.collect.Lists"/>
|
|
|
|
</module>
|
|
|
|
<module name="RegexpMultiline">
|
|
|
|
<property name="format" value="=\s*new TreeMap<[^>]"/>
|
|
|
|
<property name="message" value="Prefer com.google.common.collect.Maps"/>
|
|
|
|
</module>
|
|
|
|
<module name="RegexpMultiline">
|
|
|
|
<property name="format" value="=\s*new TreeSet<[^>]"/>
|
|
|
|
<property name="message" value="Prefer com.google.common.collect.Sets"/>
|
|
|
|
</module>
|
2012-10-26 12:34:48 -04:00
|
|
|
</module>
|