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

Duo Zhang updated HBASE-26922:
------------------------------
    Summary: Fix LineLength warnings as much as possible if it can not be fixed 
by spotless  (was: Move very long trailing comments to top)

> Fix LineLength warnings as much as possible if it can not be fixed by spotless
> ------------------------------------------------------------------------------
>
>                 Key: HBASE-26922
>                 URL: https://issues.apache.org/jira/browse/HBASE-26922
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>
> Like this
> {code}
>       assertTrue(initialRegions
>         
> .contains(RegionReplicaUtil.getRegionInfoForReplica(mergedRegions.getFirst(), 
> 1))); // this
>                                                                               
>               // is
>                                                                               
>               // the
>                                                                               
>               // replica
>                                                                               
>               // of
>                                                                               
>               // the
>                                                                               
>               // first
>                                                                               
>               // region
> {code}
> Because of we limited line length, the format will be very strange and still 
> has line length problem if some of the words are too long.
> Let's move them from trailing to top of the statement.



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

Reply via email to