You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by sy...@apache.org on 2016/01/22 23:19:59 UTC

[05/13] hbase git commit: Revert "HBASE-14902 Revert some of the stringency recently introduced by checkstyle tightening" This seems to cause a NPE when generating report.... reverting.

Revert "HBASE-14902 Revert some of the stringency recently introduced by checkstyle tightening"
This seems to cause a NPE when generating report.... reverting.

This reverts commit 2c0394f078158ef668e75b74f589a7da59ff9e0e.


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

Branch: refs/heads/hbase-12439
Commit: 5e08e2ceb6af231eebeff9f46e18d654a7b89338
Parents: 93e200d
Author: stack <st...@apache.org>
Authored: Wed Jan 20 08:40:02 2016 -0800
Committer: stack <st...@apache.org>
Committed: Wed Jan 20 08:40:02 2016 -0800

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


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