diff options
author | Rawi01 <Rawi01@users.noreply.github.com> | 2020-12-22 16:45:05 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2021-01-14 23:54:48 +0100 |
commit | 2e5ea518cc4041f2ef79d5d9cc0f970d805b6e64 (patch) | |
tree | d46395a1cf4be1c1fe8141bcee10e91d11586d82 /test/transform/resource/after-delombok | |
parent | b8d49a884ed545176bb491b10b59dde9f481ea95 (diff) | |
download | lombok-2e5ea518cc4041f2ef79d5d9cc0f970d805b6e64.tar.gz lombok-2e5ea518cc4041f2ef79d5d9cc0f970d805b6e64.tar.bz2 lombok-2e5ea518cc4041f2ef79d5d9cc0f970d805b6e64.zip |
[fixes #2443] Remove multiline Javadoc tags
Diffstat (limited to 'test/transform/resource/after-delombok')
-rw-r--r-- | test/transform/resource/after-delombok/BuilderJavadoc.java | 2 | ||||
-rw-r--r-- | test/transform/resource/after-delombok/JavadocMultiline.java | 51 |
2 files changed, 51 insertions, 2 deletions
diff --git a/test/transform/resource/after-delombok/BuilderJavadoc.java b/test/transform/resource/after-delombok/BuilderJavadoc.java index c99bfe90..f7caa2d6 100644 --- a/test/transform/resource/after-delombok/BuilderJavadoc.java +++ b/test/transform/resource/after-delombok/BuilderJavadoc.java @@ -3,7 +3,6 @@ class BuilderJavadoc<T> { /** * basic gets only a builder setter. * @see #getsetwith - * * @return tag is removed from the setter. */ private final int basic; @@ -92,7 +91,6 @@ class BuilderJavadoc<T> { } /** * getsetwith gets a builder setter, an instance getter and setter, and a wither. - * * @return tag is moved to the getter. */ @java.lang.SuppressWarnings("all") diff --git a/test/transform/resource/after-delombok/JavadocMultiline.java b/test/transform/resource/after-delombok/JavadocMultiline.java new file mode 100644 index 00000000..cc8b1148 --- /dev/null +++ b/test/transform/resource/after-delombok/JavadocMultiline.java @@ -0,0 +1,51 @@ +class JavadocMultiline { + /** + * This is a list of booleans. + */ + private java.util.List<Boolean> booleans; + /** + * This is a list of booleans. + */ + private java.util.List<Boolean> booleans2; + + /** + * This is a list of booleans. + * + * @return A list of booleans to set for this object. This is a Javadoc return that is long + * enough to wrap to multiple lines. + */ + @java.lang.SuppressWarnings("all") + public java.util.List<Boolean> getBooleans() { + return this.booleans; + } + + /** + * This is a list of booleans. + */ + @java.lang.SuppressWarnings("all") + public java.util.List<Boolean> getBooleans2() { + return this.booleans2; + } + + /** + * This is a list of booleans. + * + * @param booleans A list of booleans to set for this object. This is a Javadoc param that is + * long enough to wrap to multiple lines. + */ + @java.lang.SuppressWarnings("all") + public void setBooleans(final java.util.List<Boolean> booleans) { + this.booleans = booleans; + } + + /** + * This is a list of booleans. + * + * @param booleans A list of booleans to set for this object. This is a Javadoc param that is + * long enough to wrap to multiple lines. + */ + @java.lang.SuppressWarnings("all") + public void setBooleans2(final java.util.List<Boolean> booleans2) { + this.booleans2 = booleans2; + } +}
\ No newline at end of file |