You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by na...@apache.org on 2015/06/10 13:46:08 UTC

jclouds git commit: Avoid AutoValue shaded imports

Repository: jclouds
Updated Branches:
  refs/heads/master 23ef39416 -> d804e7346


Avoid AutoValue shaded imports


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/d804e734
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/d804e734
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/d804e734

Branch: refs/heads/master
Commit: d804e734671baf3f5206a3bceae4ce3ee02f0e94
Parents: 23ef394
Author: Ignasi Barrera <na...@apache.org>
Authored: Wed Jun 10 13:11:35 2015 +0200
Committer: Ignasi Barrera <na...@apache.org>
Committed: Wed Jun 10 13:11:35 2015 +0200

----------------------------------------------------------------------
 resources/checkstyle.xml | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/d804e734/resources/checkstyle.xml
----------------------------------------------------------------------
diff --git a/resources/checkstyle.xml b/resources/checkstyle.xml
index bb4b2ff..e16edf8 100644
--- a/resources/checkstyle.xml
+++ b/resources/checkstyle.xml
@@ -55,6 +55,10 @@
         <module name="UnusedImports">
             <property name="processJavadoc" value="true"/>
         </module>
+        <module name="IllegalImport">
+            <!-- Avoid importing AutoValue shaded packages such as Guava -->
+            <property name="illegalPkgs" value="sun,autovalue"/>
+        </module>
         <module name="WhitespaceAfter">
             <!-- TYPECAST disabled -->
             <property name="tokens" value="COMMA, SEMI"/>