Improve toString() method to use Class.getName().

This commit is contained in:
Ben Alex 2008-04-05 04:05:07 +00:00
parent 833b76c011
commit 8f645f97f7
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ public class ObjectIdentityImpl implements ObjectIdentity {
public String toString() {
StringBuffer sb = new StringBuffer();
sb.append(this.getClass().getName()).append("[");
sb.append("Java Type: ").append(this.javaType);
sb.append("Java Type: ").append(this.javaType.getName());
sb.append("; Identifier: ").append(this.identifier).append("]");
return sb.toString();