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 --- .../after-delombok/SuperBuilderWithCustomBuilderMethod.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/transform/resource/after-delombok/SuperBuilderWithCustomBuilderMethod.java') diff --git a/test/transform/resource/after-delombok/SuperBuilderWithCustomBuilderMethod.java b/test/transform/resource/after-delombok/SuperBuilderWithCustomBuilderMethod.java index cfa39295..7e9337c9 100644 --- a/test/transform/resource/after-delombok/SuperBuilderWithCustomBuilderMethod.java +++ b/test/transform/resource/after-delombok/SuperBuilderWithCustomBuilderMethod.java @@ -13,6 +13,9 @@ public class SuperBuilderWithCustomBuilderMethod { 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; @@ -96,6 +99,9 @@ public class SuperBuilderWithCustomBuilderMethod { @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