Improve toString() method to use Class.getName().
This commit is contained in:
parent
833b76c011
commit
8f645f97f7
|
@ -144,7 +144,7 @@ public class ObjectIdentityImpl implements ObjectIdentity {
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuffer sb = new StringBuffer();
|
StringBuffer sb = new StringBuffer();
|
||||||
sb.append(this.getClass().getName()).append("[");
|
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("]");
|
sb.append("; Identifier: ").append(this.identifier).append("]");
|
||||||
|
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
|
|
Loading…
Reference in New Issue