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


Reply via email to