mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-05-03 03:45:28 +01:00
Improve toString() method to use Class.getName().
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user