Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: 1.12
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
the Javasource output from the JavaDocBuilder does not show the actual code (some reformatting)
package de.lgohlke.qdox;
import java.io.File;
import java.io.IOException;
import org.junit.Test;
import com.thoughtworks.qdox.JavaDocBuilder;
import com.thoughtworks.qdox.model.JavaClass;
import com.thoughtworks.qdox.model.JavaSource;
public class QdoxBug
{
@Test
public void testBug() throws IOException
{
File file = new File("src/test/java/de/lgohlke/qdox/QdoxBug.java");
JavaSource source = new JavaDocBuilder().addSource(file);
for (JavaClass clazz : source.getClasses())
{
System.out.println(clazz.getSource().toString());
}
}
}
this is really annoying, can it be fixed?
Activity
| Field | Original Value | New Value |
|---|---|---|
| Testcase included | yes |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Assignee | Robert Scholte [ rfscholte ] | |
| Resolution | Not A Bug [ 6 ] |
I found the line number from other parser are not matching the qdox numbers.