hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang...@apache.org
Subject hbase git commit: HBASE-19262 Revisit checkstyle rules
Date Thu, 16 Nov 2017 01:45:36 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 565527c60 -> b84e26973


HBASE-19262 Revisit checkstyle rules


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

Branch: refs/heads/branch-1.3
Commit: b84e26973f7a41509260e151c17e069789fd2ae0
Parents: 565527c
Author: zhangduo <zhangduo@apache.org>
Authored: Wed Nov 15 15:38:02 2017 +0800
Committer: zhangduo <zhangduo@apache.org>
Committed: Thu Nov 16 09:43:29 2017 +0800

----------------------------------------------------------------------
 .../src/main/resources/hbase/checkstyle-suppressions.xml          | 3 ++-
 hbase-checkstyle/src/main/resources/hbase/checkstyle.xml          | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b84e2697/hbase-checkstyle/src/main/resources/hbase/checkstyle-suppressions.xml
----------------------------------------------------------------------
diff --git a/hbase-checkstyle/src/main/resources/hbase/checkstyle-suppressions.xml b/hbase-checkstyle/src/main/resources/hbase/checkstyle-suppressions.xml
index 46009e9..1ecae86 100644
--- a/hbase-checkstyle/src/main/resources/hbase/checkstyle-suppressions.xml
+++ b/hbase-checkstyle/src/main/resources/hbase/checkstyle-suppressions.xml
@@ -33,5 +33,6 @@
 <suppressions>
   <suppress checks="." files=".*/generated/.*\.java"/>
   <suppress checks="." files=".*/generated-jamon/.*\.java"/>
-  <suppress checks="MagicNumberCheck" files=".*Test\.java"/>
+  <suppress checks="MagicNumberCheck" files=".*/src/test/.*\.java"/>
+  <suppress checks="VisibilityModifier" files=".*/src/test/.*\.java"/>
 </suppressions>

http://git-wip-us.apache.org/repos/asf/hbase/blob/b84e2697/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 b423095..2240096 100644
--- a/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml
+++ b/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml
@@ -67,6 +67,7 @@
     http://checkstyle.sourceforge.net/config_imports.html -->
     <module name="AvoidStarImport"/>
     <module name="ImportOrder">
+      <property name="groups" value="*,org.apache.hadoop.hbase.shaded"/>
       <property name="option" value="top" />
       <property name="ordered" value="true"/>
       <property name="sortStaticImportsAlphabetically" value="true"/>


Mime
View raw message