hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecl...@apache.org
Subject svn commit: r1550533 - /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
Date Thu, 12 Dec 2013 21:28:00 GMT
Author: eclark
Date: Thu Dec 12 21:27:59 2013
New Revision: 1550533

URL: http://svn.apache.org/r1550533
Log:
HBASE-10143 Clean up dead local stores in FSUtils

Modified:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java?rev=1550533&r1=1550532&r2=1550533&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java Thu Dec
12 21:27:59 2013
@@ -717,7 +717,7 @@ public abstract class FSUtils {
       }
       // If not pb'd, make it so.
       if (!ProtobufUtil.isPBMagicPrefix(content)) {
-        String cid = new String();
+        String cid = null;
         in = fs.open(idPath);
         try {
           cid = in.readUTF();



Mime
View raw message