Sfoglia il codice sorgente

HDFS-525. Missed a change to the exception handling

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20@809029 13f79535-47bb-0310-9956-ffa450edef68
Christopher Douglas 16 anni fa
parent
commit
efd0a6954b

+ 1 - 2
src/hdfs/org/apache/hadoop/hdfs/server/namenode/ListPathsServlet.java

@@ -165,11 +165,10 @@ public class ListPathsServlet extends DfsServlet {
         }
         }
         catch(RemoteException re) {re.writeXml(p, doc);}
         catch(RemoteException re) {re.writeXml(p, doc);}
       }
       }
-    } finally {
       if (doc != null) {
       if (doc != null) {
         doc.endDocument();
         doc.endDocument();
       }
       }
-
+    } finally {
       if (out != null) {
       if (out != null) {
         out.close();
         out.close();
       }
       }