Community
Participate
Working Groups
Using 3.6M6 candidate (ie. I20100310-1800). Looking closer at fix for bug 303957, I saw that there's something wrong with the current formatting of the code snippet: public interface Test { /** * <pre> * A * / \ * B C * / \ / \ *D E F G * </pre> */ public void foo(); } is formatted as: public interface Test { /** * <pre> * A * / \ * B C * / \ / \ * D E F G * </pre> */ public void foo(); } Observe that the 5th ligne inside the <pre> tag is indented by one space regarding the original lines... Instead, it should be: public interface Test { /** * <pre> * A * / \ * B C * / \ / \ *D E F G * </pre> */ public void foo(); }
Created attachment 162772 [details] Proposed patch Improve the way to remove/insert prefix stars in the javadoc comment snippet. When a non-spaces characters is discovered just after the prefix star, then shift the entire snippet one space to the right.
(In reply to comment #1) > Created an attachment (id=162772) [details] > Proposed patch > Released for 3.6M7 in HEAD stream.
Verified for 3.6M7 using build I20100424-2000