BELUGA BEHR created HBASE-19677:
-----------------------------------

             Summary: 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
            Priority: Trivial


* 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