From 624c8a5a52d14ba1a6b690809f9ada15f71e15f5 Mon Sep 17 00:00:00 2001 From: Rawi01 Date: Mon, 21 Dec 2020 17:07:22 +0100 Subject: [fixes #2682] Fix NPE, always add Javadoc return statement --- .../transform/resource/after-delombok/SuperBuilderWithGenerics.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/transform/resource/after-delombok/SuperBuilderWithGenerics.java') diff --git a/test/transform/resource/after-delombok/SuperBuilderWithGenerics.java b/test/transform/resource/after-delombok/SuperBuilderWithGenerics.java index f5627211..0c3d2379 100644 --- a/test/transform/resource/after-delombok/SuperBuilderWithGenerics.java +++ b/test/transform/resource/after-delombok/SuperBuilderWithGenerics.java @@ -13,6 +13,9 @@ public class SuperBuilderWithGenerics { protected abstract B self(); @java.lang.SuppressWarnings("all") public abstract C build(); + /** + * @return {@code this}. + */ @java.lang.SuppressWarnings("all") public B field1(final A field1) { this.field1 = field1; @@ -93,6 +96,9 @@ public class SuperBuilderWithGenerics { @java.lang.Override @java.lang.SuppressWarnings("all") public abstract C build(); + /** + * @return {@code this}. + */ @java.lang.SuppressWarnings("all") public B field3(final double field3) { this.field3 = field3; -- cgit