Issue Details (XML | Word | Printable)

Key: JDO-434
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Invalid
Priority: Trivial Trivial
Assignee: Michelle Caisse
Reporter: Michelle Caisse
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

PCPoint.toString() prints only the class name, not field values

Created: 11/Oct/06 08:19 PM   Updated: 19/Oct/06 05:10 PM
Return to search
Component/s: tck2
Affects Version/s: JDO 2 final
Fix Version/s: JDO 2 maintenance release 1

Time Tracking:
Not Specified

Resolution Date: 19/Oct/06 05:10 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Michelle Caisse made changes - 19/Oct/06 05:10 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Invalid [ 6 ]