db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-434) PCPoint.toString() prints only the class name, not field values
Date Wed, 11 Oct 2006 21:19:35 GMT
    [ 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

        

Mime
View raw message