You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig Russell (JIRA)" <ji...@apache.org> on 2006/10/11 23:19:35 UTC
[jira] Commented: (JDO-434) PCPoint.toString() prints only the
class name, not field values
[ http://issues.apache.org/jira/browse/JDO-434?page=comments#action_12441561 ]
Craig Russell commented on JDO-434:
-----------------------------------
This was by design, to allow toString to be used with hollow instances when debugging tck tests.
I don't know how valid this concern is, now that most of the tck tests have been debugged.
> PCPoint.toString() prints only the class name, not field values
> ---------------------------------------------------------------
>
> Key: JDO-434
> URL: http://issues.apache.org/jira/browse/JDO-434
> Project: JDO
> Issue Type: Improvement
> Components: tck20
> Affects Versions: JDO 2 final
> Reporter: Michelle Caisse
> Assigned To: Michelle Caisse
> Priority: Trivial
> Fix For: JDO 2 maintenance release 1
>
>
> The toString() method of PCPoint returns the following:
> rc = obj.getClass().getName();
> I propose changing it to:
> rc = obj.getClass().getName() + "(" + x + "," + y + ")";
> in order to provide information about the instance.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira