aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2011-05-03 02:26:15 +0200
committerRoel Spilker <r.spilker@gmail.com>2011-05-03 02:26:15 +0200
commitb93a58298556aedaeef9e3d5fa4e53bc9b0ebe59 (patch)
tree5b9aa50af1f0b8648d8083bfe9f95e4f0ac4b618 /test
parente5e35213780a87c813b892d5efc1288125980baf (diff)
parent12e4f36a2f5aae5b17266fb15376c82d74b7bf95 (diff)
downloadlombok-b93a58298556aedaeef9e3d5fa4e53bc9b0ebe59.tar.gz
lombok-b93a58298556aedaeef9e3d5fa4e53bc9b0ebe59.tar.bz2
lombok-b93a58298556aedaeef9e3d5fa4e53bc9b0ebe59.zip
Merge branch 'master' of git@github.com:rzwitserloot/lombok
Diffstat (limited to 'test')
-rw-r--r--test/transform/resource/after-delombok/CleanupName.java4
-rw-r--r--test/transform/resource/after-delombok/CleanupPlain.java4
-rw-r--r--test/transform/resource/after-ecj/CleanupName.java4
-rw-r--r--test/transform/resource/after-ecj/CleanupPlain.java4
4 files changed, 8 insertions, 8 deletions
diff --git a/test/transform/resource/after-delombok/CleanupName.java b/test/transform/resource/after-delombok/CleanupName.java
index 37a8d117..a4ab8267 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 (lombok.Lombok.preventNullAnalysis(o) != null) {
+ if (java.util.Collections.singletonList(o).get(0) != null) {
o.toString();
}
}
@@ -14,7 +14,7 @@ class CleanupName {
try {
System.out.println(o);
} finally {
- if (lombok.Lombok.preventNullAnalysis(o) != null) {
+ if (java.util.Collections.singletonList(o).get(0) != null) {
o.toString();
}
}
diff --git a/test/transform/resource/after-delombok/CleanupPlain.java b/test/transform/resource/after-delombok/CleanupPlain.java
index 67c82f60..f91f35ee 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 (lombok.Lombok.preventNullAnalysis(out) != null) {
+ if (java.util.Collections.singletonList(out).get(0) != null) {
out.close();
}
}
} finally {
- if (lombok.Lombok.preventNullAnalysis(in) != null) {
+ if (java.util.Collections.singletonList(in).get(0) != null) {
in.close();
}
}
diff --git a/test/transform/resource/after-ecj/CleanupName.java b/test/transform/resource/after-ecj/CleanupName.java
index 8948e91d..f3f725f2 100644
--- a/test/transform/resource/after-ecj/CleanupName.java
+++ b/test/transform/resource/after-ecj/CleanupName.java
@@ -10,7 +10,7 @@ class CleanupName {
}
finally
{
- if ((lombok.Lombok.preventNullAnalysis(o) != null))
+ if ((java.util.Collections.singletonList(o).get(0) != null))
{
o.toString();
}
@@ -24,7 +24,7 @@ class CleanupName {
}
finally
{
- if ((lombok.Lombok.preventNullAnalysis(o) != null))
+ if ((java.util.Collections.singletonList(o).get(0) != null))
{
o.toString();
}
diff --git a/test/transform/resource/after-ecj/CleanupPlain.java b/test/transform/resource/after-ecj/CleanupPlain.java
index 6eaa4377..a9b9eceb 100644
--- a/test/transform/resource/after-ecj/CleanupPlain.java
+++ b/test/transform/resource/after-ecj/CleanupPlain.java
@@ -18,7 +18,7 @@ class CleanupPlain {
}
finally
{
- if ((lombok.Lombok.preventNullAnalysis(out) != null))
+ if ((java.util.Collections.singletonList(out).get(0) != null))
{
out.close();
}
@@ -26,7 +26,7 @@ class CleanupPlain {
}
finally
{
- if ((lombok.Lombok.preventNullAnalysis(in) != null))
+ if ((java.util.Collections.singletonList(in).get(0) != null))
{
in.close();
}