Issue 182: Cleanup documentation should include null-check

This commit is contained in:
Roel Spilker committed 2011-01-31 23:55:06 +01:00
1 parent cfbfa17876
commit 95f73048ce
2 files changed
+12 -2

No files matched your search

+6 -2
View File
@@ -13,10 +13,14 @@ public class CleanupExample {
out.write(b, 0, r);
}
} finally {
out.close();
if (out != null) {
out.close();
}
}
} finally {
in.close();
if (in != null) {
in.close();
}
}
}
}