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 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