diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-11-03 00:43:05 +0100 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2010-11-03 00:43:05 +0100 |
commit | fcf39d88b489d03bc93cecf0e98e7ffbb7a162aa (patch) | |
tree | caf72086c976d4502f7341e8b6f42cc1a54794d9 /test/transform/resource/after-delombok/CleanupPlain.java | |
parent | f1cf083890c223bf7245190264438740ee724bc9 (diff) | |
parent | 17bcfda43b9e939ac22d5247ef98905741650432 (diff) | |
download | lombok-fcf39d88b489d03bc93cecf0e98e7ffbb7a162aa.tar.gz lombok-fcf39d88b489d03bc93cecf0e98e7ffbb7a162aa.tar.bz2 lombok-fcf39d88b489d03bc93cecf0e98e7ffbb7a162aa.zip |
Merge branch 'master' of github.com:rzwitserloot/lombok
Diffstat (limited to 'test/transform/resource/after-delombok/CleanupPlain.java')
-rw-r--r-- | test/transform/resource/after-delombok/CleanupPlain.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/transform/resource/after-delombok/CleanupPlain.java b/test/transform/resource/after-delombok/CleanupPlain.java index 35d51543..1a19442f 100644 --- a/test/transform/resource/after-delombok/CleanupPlain.java +++ b/test/transform/resource/after-delombok/CleanupPlain.java @@ -9,10 +9,14 @@ class CleanupPlain { out.flush(); } } finally { - out.close(); + if (out != null) { + out.close(); + } } } finally { - in.close(); + if (in != null) { + in.close(); + } } } } |