Skip to content
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

Fix: #3681 LineComment alwaysing trimming content #3777

Merged
merged 2 commits into from
Dec 5, 2022
Merged

Fix: #3681 LineComment alwaysing trimming content #3777

merged 2 commits into from
Dec 5, 2022

Conversation

jlerbsc
Copy link
Collaborator

@jlerbsc jlerbsc commented Dec 5, 2022

Fixes #3681 .
Trimming line comment only on the right side to give the possibility to the user to control the exact content of comments. This is important when printing several line comments with content that should be aligned.

@jlerbsc
Copy link
Collaborator Author

jlerbsc commented Dec 5, 2022

An exception has occurred in the compiler (10.0.2). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com/) after checking the Bug Database (http://bugs.java.com/) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.util.ConcurrentModificationException
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1471)
at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:294)
at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206)
at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:169)
at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300)
at java.base/java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681)
at java.base/jdk.internal.jrtfs.JrtDirectoryStream$1.hasNext(JrtDirectoryStream.java:81)

@jlerbsc jlerbsc merged commit 378978d into javaparser:master Dec 5, 2022
@jlerbsc jlerbsc added this to the next release milestone Dec 5, 2022
@jlerbsc jlerbsc added the PR: Added A PR that introduces new behaviour (e.g. functionality, tests) label Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Added A PR that introduces new behaviour (e.g. functionality, tests)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LineComment alwaysing trimming content
1 participant