Added lombok.Lombok.preventNullAnalysis to the null test in @Cleanup to suppress

warnings about variables that cannot be null
This commit is contained in:
Roel Spilker committed 2010-11-09 00:37:06 +01:00
1 parent 98d8a9f63b
commit a94243e062
15 files changed
+234 -65

No files matched your search

@@ -18,7 +18,7 @@ class CleanupPlain {
}
finally
{
if ((out != null))
if ((lombok.Lombok.preventNullAnalysis(out) != null))
{
out.close();
}
@@ -26,7 +26,7 @@ class CleanupPlain {
}
finally
{
if ((in != null))
if ((lombok.Lombok.preventNullAnalysis(in) != null))
{
in.close();
}