[ http://jira.codehaus.org/browse/QDOX-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte resolved QDOX-214. --------------------------------- Resolution: Fixed Additional fix in [rev. 738|http://fisheye.codehaus.org/changelog/qdox/?cs=738] > returns is null for Constructors, which makes several methods fail. > ------------------------------------------------------------------- > > Key: QDOX-214 > URL: http://jira.codehaus.org/browse/QDOX-214 > Project: QDox > Issue Type: Bug > Affects Versions: 2.0 > Reporter: Stefan Ackermann > Assignee: Robert Scholte > Fix For: 2.0 > > > Here is a test case, tested against the current trunk. > public void testToString(){ > JavaDocBuilder javaDocBuilder = new JavaDocBuilder(); > javaDocBuilder.addSource(new StringReader("class A{ public > A(){}}")); > JavaClass a = javaDocBuilder.getClassByName("A"); > JavaMethod[] methods = a.getMethods(); > System.out.println(methods[0]); > } > toString is one of the methods that depends on returns not being null. -- 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