From 93ab23183b488c0999e2edc70d88fa5f2776db21 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Fri, 29 Aug 2008 19:19:16 +0000 Subject: [PATCH] Fix broken build -- build was broken by hbase-824 git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690370 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/hadoop/hbase/regionserver/HStore.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/org/apache/hadoop/hbase/regionserver/HStore.java b/src/java/org/apache/hadoop/hbase/regionserver/HStore.java index 3ea827d7da9..8d622ded1ce 100644 --- a/src/java/org/apache/hadoop/hbase/regionserver/HStore.java +++ b/src/java/org/apache/hadoop/hbase/regionserver/HStore.java @@ -871,8 +871,7 @@ public class HStore implements HConstants { final List pReaders) throws IOException { // Reverse order so we newest is first. - List copy = new ArrayList(pReaders.size()); - Collections.copy(copy, pReaders); + List copy = new ArrayList(pReaders); Collections.reverse(copy); MapFile.Reader[] rdrs = pReaders.toArray(new MapFile.Reader[copy.size()]); try {