mirror of https://github.com/apache/jclouds.git
51 lines
2.3 KiB
XML
51 lines
2.3 KiB
XML
<?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"/>
|
|
<module name="NewlineAtEndOfFile"/>
|
|
<module name="TreeWalker">
|
|
<module name="EmptyStatement"/>
|
|
<module name="IllegalThrows"/>
|
|
<module name="LineLength">
|
|
<property name="ignorePattern" value="^import\s.*;$"/>
|
|
<property name="max" value="120"/>
|
|
</module>
|
|
<module name="ModifierOrder"/>
|
|
<module name="MultipleVariableDeclarations"/>
|
|
<module name="UnusedImports"/>
|
|
</module>
|
|
<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>
|
|
</module>
|