2013-05-23 14:47:00 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2013-05-13 19:53:14 -04:00
|
|
|
<!--
|
|
|
|
|
2013-05-16 15:59:40 -04:00
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
2013-05-13 19:53:14 -04:00
|
|
|
|
2013-05-16 15:59:40 -04:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2013-05-13 19:53:14 -04:00
|
|
|
|
2013-05-16 15:59:40 -04:00
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
2013-05-13 19:53:14 -04:00
|
|
|
|
|
|
|
-->
|
2012-10-26 12:34:48 -04:00
|
|
|
<!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-13 23:24:55 -05:00
|
|
|
<module name="AvoidStarImport"/>
|
2012-11-01 21:57:37 -04:00
|
|
|
<module name="EmptyStatement"/>
|
2012-11-10 16:05:45 -05:00
|
|
|
<!--
|
|
|
|
jclouds prefers 120 character line lengths but has many files with
|
|
|
|
longer lines
|
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-10 16:05:45 -05:00
|
|
|
-->
|
2012-11-01 22:49:46 -04:00
|
|
|
<module name="ModifierOrder"/>
|
2012-11-01 23:11:23 -04:00
|
|
|
<module name="MultipleVariableDeclarations"/>
|
2013-12-12 21:22:46 -05:00
|
|
|
<module name="RedundantImport"/>
|
2013-10-30 16:07:46 -04:00
|
|
|
<module name="RedundantModifier">
|
|
|
|
<!-- VARIABLE_DEF disabled -->
|
|
|
|
<property name="tokens" value="METHOD_DEF, ANNOTATION_FIELD_DEF, INTERFACE_DEF"/>
|
|
|
|
</module>
|
2012-11-04 21:11:12 -05:00
|
|
|
<module name="SimplifyBooleanExpression"/>
|
2012-11-04 19:36:01 -05:00
|
|
|
<module name="UnnecessaryParentheses"/>
|
2013-12-11 19:45:22 -05: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-11-04 17:54:31 -05:00
|
|
|
<module name="RegexpMultiline">
|
|
|
|
<property name="format" value="=\s*new AtomicReference<[^>]"/>
|
|
|
|
<property name="message" value="Prefer com.google.common.util.concurrent.Atomics"/>
|
|
|
|
</module>
|
2012-11-10 22:44:52 -05:00
|
|
|
<module name="RegexpMultiline">
|
|
|
|
<property name="format" value="new StringBuffer"/>
|
|
|
|
<property name="message" value="Prefer java.lang.StringBuilder"/>
|
|
|
|
</module>
|
2012-10-26 12:34:48 -04:00
|
|
|
</module>
|