diff options
author | Caleb Brinkman <cbrinkman@sonatype.com> | 2019-09-19 13:14:43 -0500 |
---|---|---|
committer | Caleb Brinkman <cbrinkman@sonatype.com> | 2019-09-19 13:14:43 -0500 |
commit | bae66a3450cf6118d7447a390baf333f862c7d8e (patch) | |
tree | e8f47d0a857d51c21e73cbc0f4da0689aa6140ac /test | |
parent | e1bd41fab9d62b5478e50b5c2fe2e45a0d767334 (diff) | |
download | lombok-bae66a3450cf6118d7447a390baf333f862c7d8e.tar.gz lombok-bae66a3450cf6118d7447a390baf333f862c7d8e.tar.bz2 lombok-bae66a3450cf6118d7447a390baf333f862c7d8e.zip |
Fix null pointers and incorrect tests
Diffstat (limited to 'test')
-rw-r--r-- | test/transform/resource/after-delombok/BuilderSimpleWithSetterPrefix.java | 2 | ||||
-rw-r--r-- | test/transform/resource/after-ecj/BuilderSimpleWithSetterPrefix.java | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/transform/resource/after-delombok/BuilderSimpleWithSetterPrefix.java b/test/transform/resource/after-delombok/BuilderSimpleWithSetterPrefix.java index b10ad619..24ca09d6 100644 --- a/test/transform/resource/after-delombok/BuilderSimpleWithSetterPrefix.java +++ b/test/transform/resource/after-delombok/BuilderSimpleWithSetterPrefix.java @@ -10,7 +10,7 @@ class BuilderSimpleWithSetterPrefix<T> { @java.lang.SuppressWarnings("all") private int unprefixed; @java.lang.SuppressWarnings("all") - BuilderSimpelWithSetterPrefixBuilder() { + BuilderSimpleWithSetterPrefixBuilder() { } @java.lang.SuppressWarnings("all") public BuilderSimpleWithSetterPrefixBuilder<T> withUnprefixed(final int unprefixed) { diff --git a/test/transform/resource/after-ecj/BuilderSimpleWithSetterPrefix.java b/test/transform/resource/after-ecj/BuilderSimpleWithSetterPrefix.java index 98c42fe9..3bc8d882 100644 --- a/test/transform/resource/after-ecj/BuilderSimpleWithSetterPrefix.java +++ b/test/transform/resource/after-ecj/BuilderSimpleWithSetterPrefix.java @@ -1,6 +1,6 @@ import java.util.List; -@lombok.Builder(access = lombok.AccessLevel.PROTECTED,setterPrefix = "with") class BuilderWithPrefix<T> { - protected static @java.lang.SuppressWarnings("all") class BuilderWithPrefixBuilder<T> { +@lombok.Builder(access = lombok.AccessLevel.PROTECTED,setterPrefix = "with") class BulderSimpleWithSetterPrefix<T> { + protected static @java.lang.SuppressWarnings("all") class BuilderSimpleWithSetterPrefix<T> { private @java.lang.SuppressWarnings("all") int unprefixed; @java.lang.SuppressWarnings("all") BuilderWithPrefixBuilder() { super(); @@ -17,11 +17,11 @@ import java.util.List; } } private int unprefixed; - @java.lang.SuppressWarnings("all") BuilderWithPrefix(final int unprefixed) { + @java.lang.SuppressWarnings("all") BuilderSimpleWithSetterPrefixBuilder(final int unprefixed) { super(); this.unprefixed = unprefixed; } - protected static @java.lang.SuppressWarnings("all") <T>BuilderWithPrefixBuilder<T> builder() { - return new BuilderWithPrefixBuilder<T>(); + protected static @java.lang.SuppressWarnings("all") <T>BuilderSimpleWithSetterPrefixBuilder<T> builder() { + return new BuilderSimpleWithSetterPrefixBuilder<T>(); } } |