HBASE-3802 Redundant list creation in HRegion

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1095453 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2011-04-20 16:34:04 +00:00
parent 0925f86a55
commit 6385b39cf4
2 changed files with 2 additions and 2 deletions

View File

@ -78,6 +78,7 @@ Release 0.91.0 - Unreleased
HBASE-3790 Fix NPE in ExecResult.write() with null return value
HBASE-3781 hbase shell cannot start "NoMethodError: undefined method
`close' for nil:NilClass" (Mikael Sitruk)
HBASE-3802 Redundant list creation in HRegion
IMPROVEMENTS
HBASE-3290 Max Compaction Size (Nicolas Spiegelberg via Stack)

View File

@ -3092,8 +3092,7 @@ public class HRegion implements HeapSize { // , Writable{
get.addFamily(family);
}
}
List<KeyValue> results = new ArrayList<KeyValue>();
results = get(get, true);
List<KeyValue> results = get(get, true);
return new Result(results);
}