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

ASF GitHub Bot updated HDDS-6689:
---------------------------------
    Labels: pull-request-available  (was: )

> New checkstyle: NoLineWrap
> --------------------------
>
>                 Key: HDDS-6689
>                 URL: https://issues.apache.org/jira/browse/HDDS-6689
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Kaijie Chen
>            Assignee: Kaijie Chen
>            Priority: Minor
>              Labels: pull-request-available
>
> Add new checkstyle rule `NoLineWrap`, which checks no line wraps in 
> `pacakge`, `import` and `static import` statements.
> [https://checkstyle.sourceforge.io/config_whitespace.html#NoLineWrap]
> Fix violations by running the following command multiple times.
> {code:java}
> grep -rlE '^import [^;]*$' --include '*.java' | xargs sed -szi 's/\(\nimport 
> [^;\n]\+\)\n \+/\1/g'{code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to