Repository: hbase Updated Branches: refs/heads/hbase-12439 318814de2 -> 4681827d6
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/hbase-12439 Commit: 2c0394f078158ef668e75b74f589a7da59ff9e0e Parents: 318814d Author: stack <[email protected]> Authored: Tue Jan 19 14:36:26 2016 -0800 Committer: stack <[email protected]> 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 -->
