db-jdo-dev mailing list archives

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