HBASE-16163 Compacting Memstore : CompactionPipeline#addFirst can use LinkedList#addFirst.
This commit is contained in:
parent
97f2294bfd
commit
d22c23c396
|
@ -160,7 +160,7 @@ public class CompactionPipeline {
|
|||
}
|
||||
|
||||
private boolean addFirst(ImmutableSegment segment) {
|
||||
pipeline.add(0,segment);
|
||||
pipeline.addFirst(segment);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue