diff options
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/CleanupName.java | 4 | ||||
-rw-r--r-- | test/transform/resource/after-delombok/CleanupPlain.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/transform/resource/after-delombok/CleanupName.java b/test/transform/resource/after-delombok/CleanupName.java index 0201008e..37a8d117 100644 --- a/test/transform/resource/after-delombok/CleanupName.java +++ b/test/transform/resource/after-delombok/CleanupName.java @@ -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(); } } diff --git a/test/transform/resource/after-delombok/CleanupPlain.java b/test/transform/resource/after-delombok/CleanupPlain.java index 1a19442f..67c82f60 100644 --- a/test/transform/resource/after-delombok/CleanupPlain.java +++ b/test/transform/resource/after-delombok/CleanupPlain.java @@ -9,12 +9,12 @@ class CleanupPlain { out.flush(); } } finally { - if (out != null) { + if (lombok.Lombok.preventNullAnalysis(out) != null) { out.close(); } } } finally { - if (in != null) { + if (lombok.Lombok.preventNullAnalysis(in) != null) { in.close(); } } |