git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20@809029 13f79535-47bb-0310-9956-ffa450edef68
@@ -165,11 +165,10 @@ public class ListPathsServlet extends DfsServlet {
}
catch(RemoteException re) {re.writeXml(p, doc);}
- } finally {
if (doc != null) {
doc.endDocument();
-
+ } finally {
if (out != null) {
out.close();