hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecl...@apache.org
Subject svn commit: r1550534 - /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
Date Thu, 12 Dec 2013 21:28:06 GMT
Author: eclark
Date: Thu Dec 12 21:28:05 2013
New Revision: 1550534

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

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

Modified: hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java?rev=1550534&r1=1550533&r2=1550534&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
(original)
+++ hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
Thu Dec 12 21:28:05 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