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

@@ -4,7 +4,7 @@ class CleanupName {
try {
System.out.println(o);
} finally {
if (o != null) {
if (lombok.Lombok.preventNullAnalysis(o) != null) {
o.toString();
}
}
@@ -14,7 +14,7 @@ class CleanupName {
try {
System.out.println(o);
} finally {
if (o != null) {
if (lombok.Lombok.preventNullAnalysis(o) != null) {
o.toString();
}
}