HBASE-3176 Remove compile warnings in HRegionServer

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029178 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jonathan Gray 2010-10-30 20:11:39 +00:00
parent add2f82ca7
commit ff7b723c57
2 changed files with 4 additions and 1 deletions

View File

@ -1076,6 +1076,7 @@ Release 0.21.0 - Unreleased
HBASE-2253 Show Block cache hit ratio for requests where
cacheBlocks=true
HBASE-3126 Force use of 'mv -f' when moving aside hbase logfiles
HBASE-3176 Remove compile warnings in HRegionServer
NEW FEATURES

View File

@ -266,7 +266,8 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
this.isOnline = false;
// check to see if the codec list is available:
String [] codecs = conf.getStrings("hbase.regionserver.codecs", null);
String [] codecs = conf.getStrings("hbase.regionserver.codecs",
(String[])null);
if (codecs != null) {
for (String codec : codecs) {
if (!CompressionTest.testCompression(codec)) {
@ -2359,6 +2360,7 @@ public class HRegionServer implements HRegionInterface, HBaseRPCErrorHandler,
return serverInfo;
}
@SuppressWarnings("unchecked")
@Override
public MultiResponse multi(MultiAction multi) throws IOException {
MultiResponse response = new MultiResponse();