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

BELUGA BEHR updated HBASE-19677:
--------------------------------
    Status: Patch Available  (was: Open)

> Miscellaneous HFileCleaner.java Improvements
> --------------------------------------------
>
>                 Key: HBASE-19677
>                 URL: https://issues.apache.org/jira/browse/HBASE-19677
>             Project: HBase
>          Issue Type: Improvement
>          Components: hbase
>    Affects Versions: 3.0.0
>            Reporter: BELUGA BEHR
>            Assignee: BELUGA BEHR
>            Priority: Trivial
>         Attachments: HBASE-19677.1.patch
>
>
> * Remove superfluous logging code guards
> * Introduce SLF4J parameter logging
> * Some simplifying:
> {code}
> -    for (HFileDeleteTask task : largeFileQueue) {
> -      leftOverTasks.add(task);
> -    }
> -    for (HFileDeleteTask task : smallFileQueue) {
> -      leftOverTasks.add(task);
> -    }
> +    leftOverTasks.addAll(largeFileQueue);
> +    leftOverTasks.addAll(smallFileQueue);
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to