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