You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2018/04/20 18:55:13 UTC

[2/3] hbase git commit: HBASE-20441 Use checkstyle to ban imports from commons-lang 2

HBASE-20441 Use checkstyle to ban imports from commons-lang 2

Signed-off-by: Sean Busbey <bu...@apache.org>


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

Branch: refs/heads/branch-2
Commit: 00821bcc20cbc0e34ebb721dfb5dcc74c347d0c2
Parents: 767cf4e
Author: Balazs Meszaros <ba...@cloudera.com>
Authored: Thu Apr 19 14:06:56 2018 +0200
Committer: Sean Busbey <bu...@apache.org>
Committed: Fri Apr 20 13:53:24 2018 -0500

----------------------------------------------------------------------
 hbase-checkstyle/src/main/resources/hbase/checkstyle.xml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/00821bcc/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml
----------------------------------------------------------------------
diff --git a/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml b/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml
index b5c7c97..c77d46b9 100644
--- a/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml
+++ b/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml
@@ -77,7 +77,15 @@
       <property name="processJavadoc" value="true"/>
     </module>
     <module name="IllegalImport">
-      <property name="illegalPkgs" value="com.google.common, io.netty, org.apache.curator.shaded, org.apache.htrace.shaded, org.apache.commons.cli, org.apache.commons.collections, org.apache.commons.collections4"/>
+      <property name="illegalPkgs" value="
+          com.google.common,
+          io.netty,
+          org.apache.commons.cli,
+          org.apache.commons.collections,
+          org.apache.commons.collections4,
+          org.apache.commons.lang,
+          org.apache.curator.shaded,
+          org.apache.htrace.shaded"/>
     </module>
     <!-- Javadoc Checks
     http://checkstyle.sourceforge.net/config_javadoc.html -->