diff options
author | Roel Spilker <r.spilker@gmail.com> | 2012-06-18 23:18:56 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2012-06-18 23:38:01 +0200 |
commit | 0a53be1d3ec125b8ae9fae63fba03f55ec90e2a3 (patch) | |
tree | 60a7acaa61afd8baf0158fbfb34854d0d71ad072 /test/transform | |
parent | 9ec1f6a077eb04447622397a4bfd96a724a41da9 (diff) | |
download | lombok-0a53be1d3ec125b8ae9fae63fba03f55ec90e2a3.tar.gz lombok-0a53be1d3ec125b8ae9fae63fba03f55ec90e2a3.tar.bz2 lombok-0a53be1d3ec125b8ae9fae63fba03f55ec90e2a3.zip |
Updated test files for getter-lazy on boolean fields.
Diffstat (limited to 'test/transform')
-rw-r--r-- | test/transform/resource/after-delombok/GetterLazyBoolean.java | 2 | ||||
-rw-r--r-- | test/transform/resource/after-delombok/GetterLazyNative.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/transform/resource/after-delombok/GetterLazyBoolean.java b/test/transform/resource/after-delombok/GetterLazyBoolean.java index eaf678ed..caab2803 100644 --- a/test/transform/resource/after-delombok/GetterLazyBoolean.java +++ b/test/transform/resource/after-delombok/GetterLazyBoolean.java @@ -30,7 +30,7 @@ class GetterLazyBoolean { @java.lang.SuppressWarnings("all") public java.lang.String toString() { return "GetterLazyBoolean(booleanValue=" + this.isBooleanValue() + ")"; - } + } @java.lang.SuppressWarnings("all") public boolean isBooleanValue() { java.util.concurrent.atomic.AtomicReference<java.lang.Boolean> value = this.booleanValue.get(); diff --git a/test/transform/resource/after-delombok/GetterLazyNative.java b/test/transform/resource/after-delombok/GetterLazyNative.java index 29e7d66d..a10075ba 100644 --- a/test/transform/resource/after-delombok/GetterLazyNative.java +++ b/test/transform/resource/after-delombok/GetterLazyNative.java @@ -9,7 +9,7 @@ class GetterLazyNative { private final java.util.concurrent.atomic.AtomicReference<java.util.concurrent.atomic.AtomicReference<java.lang.Character>> charField = new java.util.concurrent.atomic.AtomicReference<java.util.concurrent.atomic.AtomicReference<java.lang.Character>>(); private final java.util.concurrent.atomic.AtomicReference<java.util.concurrent.atomic.AtomicReference<int[]>> intArrayField = new java.util.concurrent.atomic.AtomicReference<java.util.concurrent.atomic.AtomicReference<int[]>>(); @java.lang.SuppressWarnings("all") - public boolean getBooleanField() { + public boolean isBooleanField() { java.util.concurrent.atomic.AtomicReference<java.lang.Boolean> value = this.booleanField.get(); if (value == null) { synchronized (this.booleanField) { |