[
http://jira.codehaus.org/browse/QDOX-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Scholte closed QDOX-151.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.10
> introduce toString() according to the Java Language Specification
> -----------------------------------------------------------------
>
> Key: QDOX-151
> URL: http://jira.codehaus.org/browse/QDOX-151
> Project: QDox
> Issue Type: Improvement
> Components: Java API
> Affects Versions: 1.9
> Reporter: Robert Scholte
> Assignee: Robert Scholte
> Priority: Minor
> Fix For: 1.10
>
> Attachments: TestQDOX151.java
>
>
> When calling the toString() on most of the model-Java* classes in qdox, it'll
> return the complete codeblock.
> Their java.lang.reflect equivalent acts a bit different. For example
> http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Method.html#toString()
>
> Nowhere is documented that toString() will return the complete codeblock.
> two choices: keep the current toString(0 as it is and introduce another
> method ( toMethodString() or toSpecString() or ....)
> or rename toString() (to getCodeblock() or ....) and implement the toString()
> according to tha javaAPI
--
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