aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/CleanupPlain.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/CleanupPlain.java')
-rw-r--r--test/transform/resource/after-ecj/CleanupPlain.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/test/transform/resource/after-ecj/CleanupPlain.java b/test/transform/resource/after-ecj/CleanupPlain.java
index 6754b4f6..fe8d7571 100644
--- a/test/transform/resource/after-ecj/CleanupPlain.java
+++ b/test/transform/resource/after-ecj/CleanupPlain.java
@@ -18,12 +18,18 @@ class CleanupPlain {
}
finally
{
- out.close();
+ if ((out != null))
+ {
+ out.close();
+ }
}
}
finally
{
- in.close();
+ if ((in != null))
+ {
+ in.close();
+ }
}
}
} \ No newline at end of file