You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nick Dimiduk (Jira)" <ji...@apache.org> on 2022/04/01 12:27:00 UTC

[jira] [Updated] (HBASE-26536) Checkstyle: permit single-line if-then statements

     [ https://issues.apache.org/jira/browse/HBASE-26536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Dimiduk updated HBASE-26536:
---------------------------------
    Resolution: Won't Fix
        Status: Resolved  (was: Patch Available)

We've moved on to auto-formatting.

> Checkstyle: permit single-line if-then statements
> -------------------------------------------------
>
>                 Key: HBASE-26536
>                 URL: https://issues.apache.org/jira/browse/HBASE-26536
>             Project: HBase
>          Issue Type: Task
>            Reporter: Nick Dimiduk
>            Priority: Minor
>
> Change the [LeftCurly|https://checkstyle.sourceforge.io/config_blocks.html#LeftCurly] module [LeftCurlyOption|https://checkstyle.sourceforge.io/property_types.html#LeftCurlyOption] from the default {{eol}} to {{nlow}}. This will permit single-line code blocks like
> {noformat}
>     if (foo == null) { return null; }
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)