hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-14902 Revert some of the stringency recently introduced by checkstyle tightening
Date Tue, 19 Jan 2016 22:40:17 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 318814de2 -> 2c0394f07


HBASE-14902 Revert some of the stringency recently introduced by checkstyle tightening


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

Branch: refs/heads/master
Commit: 2c0394f078158ef668e75b74f589a7da59ff9e0e
Parents: 318814d
Author: stack <stack@apache.org>
Authored: Tue Jan 19 14:36:26 2016 -0800
Committer: stack <stack@apache.org>
Committed: Tue Jan 19 14:36:44 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/2c0394f0/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 6095d99..6670182 100644
--- a/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml
+++ b/hbase-checkstyle/src/main/resources/hbase/checkstyle.xml
@@ -41,7 +41,9 @@
     http://checkstyle.sourceforge.net/config_blocks.html -->
     <module name="EmptyBlock"/>
     <module name="LeftCurly"/>
-    <module name="NeedBraces"/>
+    <module name="NeedBraces">
+      <property name="allowSingleLineStatement" value="true"/>
+    </module>
 
     <!-- Class Design Checks
     http://checkstyle.sourceforge.net/config_design.html -->


Mime
View raw message