diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-09-10 22:24:06 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2018-09-10 22:24:48 +0200 |
commit | 6a42bccb9730b7072b1219a03642074ab96fbe61 (patch) | |
tree | 249e60a7ed8c70461d2c395ba463e3ee5b44e862 /test/transform/resource/after-ecj | |
parent | 8c28302705a027646c0ee0a83379b4084cb475ba (diff) | |
download | lombok-6a42bccb9730b7072b1219a03642074ab96fbe61.tar.gz lombok-6a42bccb9730b7072b1219a03642074ab96fbe61.tar.bz2 lombok-6a42bccb9730b7072b1219a03642074ab96fbe61.zip |
toBuilder() with singular should force the typeargs on the Collections.emptyList call.
Diffstat (limited to 'test/transform/resource/after-ecj')
-rw-r--r-- | test/transform/resource/after-ecj/BuilderWithToBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/transform/resource/after-ecj/BuilderWithToBuilder.java b/test/transform/resource/after-ecj/BuilderWithToBuilder.java index b9cc27dd..a8935107 100644 --- a/test/transform/resource/after-ecj/BuilderWithToBuilder.java +++ b/test/transform/resource/after-ecj/BuilderWithToBuilder.java @@ -74,7 +74,7 @@ import lombok.Builder; return new BuilderWithToBuilderBuilder<T>(); } public @java.lang.SuppressWarnings("all") BuilderWithToBuilderBuilder<T> toBuilder() { - return new BuilderWithToBuilderBuilder<T>().one(this.mOne).two(this.mTwo).foo(BuilderWithToBuilder.rrr(this)).bars(((this.bars == null) ? java.util.Collections.emptyList() : this.bars)); + return new BuilderWithToBuilderBuilder<T>().one(this.mOne).two(this.mTwo).foo(BuilderWithToBuilder.rrr(this)).bars(((this.bars == null) ? java.util.Collections.<T>emptyList() : this.bars)); } } @lombok.experimental.Accessors(prefix = "m") class ConstructorWithToBuilder<T> { |