HBASE-16163 Compacting Memstore : CompactionPipeline#addFirst can use LinkedList#addFirst.

This commit is contained in:
anoopsjohn 2016-07-03 21:35:29 +05:30
parent 97f2294bfd
commit d22c23c396
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ public class CompactionPipeline {
}
private boolean addFirst(ImmutableSegment segment) {
pipeline.add(0,segment);
pipeline.addFirst(segment);
return true;
}