hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jg...@apache.org
Subject svn commit: r1029178 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Date Sat, 30 Oct 2010 20:11:40 GMT
Author: jgray
Date: Sat Oct 30 20:11:39 2010
New Revision: 1029178

URL: http://svn.apache.org/viewvc?rev=1029178&view=rev
Log:
HBASE-3176  Remove compile warnings in HRegionServer

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1029178&r1=1029177&r2=1029178&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Sat Oct 30 20:11:39 2010
@@ -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

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java?rev=1029178&r1=1029177&r2=1029178&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java Sat
Oct 30 20:11:39 2010
@@ -266,7 +266,8 @@ public class HRegionServer implements HR
     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 HR
     return serverInfo;
   }
 
+  @SuppressWarnings("unchecked")
   @Override
   public MultiResponse multi(MultiAction multi) throws IOException {
     MultiResponse response = new MultiResponse();



Mime
View raw message