Details
Description
As per the dev-list, it might be useful, in some cases, to preserve whitespace in javadoc comments: 
http://www.nabble.com/Retaining-whitespace-in-comments-td18738908.html
Since it is not always desired, I'd suggest adding a method and/or parameter so that users can get one or the other as they see fit.
I've tried looking into the source to see where this was happening, but haven't been able to locate it precisely.
Activity
| Field | Original Value | New Value | 
|---|---|---|
| Priority | Major [ 3 ] | Minor [ 4 ] | 
| Status | Open [ 1 ] | Resolved [ 5 ] | 
| Fix Version/s | 1.10 [ 15020 ] | |
| Resolution | Fixed [ 1 ] | |
| Assignee | Robert Scholte [ rfscholte ] | 
Here's a testcase that shows the potentially desired behavior:
public void testWhitespaceCanBeRetainedInJavadoc() { String sourceCode = "" + "package com.acme.thing;\n" + "\n" + "/**\n" + " * This class does something.\n" + " * chalala\n" + " * cha ** lala\n" + " **/\n" + "public class AClassName {\n" + "}"; JavaDocBuilder builder = new JavaDocBuilder(); builder.addSource(new StringReader(sourceCode)); JavaClass aClass = builder.getClassByName("com.acme.thing.AClassName"); assertEquals("This class does something.\n" + " chalala\n" + " cha ** lala", aClass.getComment()); }— as you can see, I think the concern is mainly about leading whitespace on each line.