[
http://jira.codehaus.org/browse/QDOX-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=266577#action_266577
]
Lars K. W. Gohlke commented on QDOX-228:
----------------------------------------
Just adjust the Path for this test (it reads itself) and see the output.
It differs, else I could write an explicit test.
> wrong code formatting
> ---------------------
>
> Key: QDOX-228
> URL: http://jira.codehaus.org/browse/QDOX-228
> Project: QDox
> Issue Type: Bug
> Affects Versions: 1.12
> Reporter: Lars K. W. Gohlke
>
> the Javasource output from the JavaDocBuilder does not show the actual code
> (some reformatting)
> {noformat}
> 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());
> }
> }
> }
> {noformat}
> this is really annoying, can it be fixed?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email