aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2010-11-10 01:52:07 +0100
committerRoel Spilker <r.spilker@gmail.com>2010-11-10 01:52:07 +0100
commit3d4b27d6d288ecb418a2a1a09ed43cae90ec548e (patch)
treeaae5dd4b466ff6e6f3390e6ab8eb16e5f6d4d9cf /test/transform/resource/after-delombok
parentfe7f0db2fce7b4c80853b9aed100908ff1f55f40 (diff)
parent57de0c3f6636181541a7712e8d506828420c13d1 (diff)
downloadlombok-3d4b27d6d288ecb418a2a1a09ed43cae90ec548e.tar.gz
lombok-3d4b27d6d288ecb418a2a1a09ed43cae90ec548e.tar.bz2
lombok-3d4b27d6d288ecb418a2a1a09ed43cae90ec548e.zip
Merge branch 'master' into annoGetSet
Conflicts: src/core/lombok/eclipse/handlers/EclipseHandlerUtil.java
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r--test/transform/resource/after-delombok/CleanupName.java4
-rw-r--r--test/transform/resource/after-delombok/CleanupPlain.java4
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();
}
}