HBASE-6493. HashSet of byte array is being used in couple of places (Nick Dimiduk)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1448780 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Enis Soztutar 2013-02-21 19:26:24 +00:00
parent f66bbf1ca4
commit f29ecf904d
1 changed files with 1 additions and 1 deletions

View File

@ -3348,7 +3348,7 @@ public class HRegionServer implements ClientProtocol,
if (request.getFamilyCount() == 0) {
columnFamilies = region.getStores().keySet();
} else {
columnFamilies = new HashSet<byte[]>();
columnFamilies = new TreeSet<byte[]>(Bytes.BYTES_RAWCOMPARATOR);
for (ByteString cf: request.getFamilyList()) {
columnFamilies.add(cf.toByteArray());
}