-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] @Getter/@Setter Javadocs can't handle line breaks properly in @param/@return #2443
Closed
jmitash opened this issue
Apr 27, 2020
· 1 comment
· Fixed by #2711, ImSejin/lezhin-comics-downloader#22, nelkinda/uropia-tax-calculator-assignment#6, TiagoMSSantos/MobileRT#196 or codingsolutions-ninja/solar-edge-api-client#9
Closed
[BUG] @Getter/@Setter Javadocs can't handle line breaks properly in @param/@return #2443
jmitash opened this issue
Apr 27, 2020
· 1 comment
· Fixed by #2711, ImSejin/lezhin-comics-downloader#22, nelkinda/uropia-tax-calculator-assignment#6, TiagoMSSantos/MobileRT#196 or codingsolutions-ninja/solar-edge-api-client#9
Comments
You are right, the regular expression to remove the tags only removes one line. I have updated it to also remove additional lines and restructured the code a little bit. I will provide a PR as soon as my latest javadoc related changes are merged. |
mirabilos
added a commit
to qvest-digital/rfc822
that referenced
this issue
Jan 13, 2021
in an attempt to fix projectlombok/lombok#2502 and its follow-up warnings careful to not trigger projectlombok/lombok#2443
Rawi01
added a commit
to Rawi01/lombok
that referenced
this issue
Jan 14, 2021
rspilker
pushed a commit
that referenced
this issue
Jan 14, 2021
This was referenced Mar 13, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
With #132, the following feature was added:
However, if the @param or @return has multiple lines, only the first line is moved to the getter/setter.
To Reproduce
Using the following ExampleFile.java:
Run delombok on the file (I used the Maven plugin). The output file is:
Expected behavior
booleans
Javadoc should not have the "[long] enough to wrap to multiple lines." linesgetBooleans()
Javadoc should not have the "long enough to wrap to multiple lines." linesetBooleans()
Javadoc should not have the "enough to wrap to multiple lines." lineVersion info
javac -version
:javac 1.8.0_181
The text was updated successfully, but these errors were encountered: