Apache JDO Project - [jira] Created: (JDO-434) PCPoint.toString() prints only the class

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > October 2006 > [jira] Created: (JDO-434) PCPoint.toString() prints only the class





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Created: (JDO-434) PCPoint.toString() prints only the class
Michelle Caisse (JIRA)

2006-10-11, 7:11 pm

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/secur...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com