From 693d2bce03b240616097998393eaf7acb8304062 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Tue, 17 Nov 2009 21:44:52 +0000 Subject: [PATCH] SEC-1286: Fixed toString() output. --- .../java/org/springframework/security/acls/domain/AclImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/acl/src/main/java/org/springframework/security/acls/domain/AclImpl.java b/acl/src/main/java/org/springframework/security/acls/domain/AclImpl.java index 2d8bd17344..d7f4040fe5 100644 --- a/acl/src/main/java/org/springframework/security/acls/domain/AclImpl.java +++ b/acl/src/main/java/org/springframework/security/acls/domain/AclImpl.java @@ -322,7 +322,7 @@ public class AclImpl implements Acl, MutableAcl, AuditableAcl, OwnershipAcl { } public String toString() { - StringBuffer sb = new StringBuffer(); + StringBuilder sb = new StringBuilder(); sb.append("AclImpl["); sb.append("id: ").append(this.id).append("; "); sb.append("objectIdentity: ").append(this.objectIdentity).append("; "); @@ -346,6 +346,7 @@ public class AclImpl implements Acl, MutableAcl, AuditableAcl, OwnershipAcl { sb.append("inheriting: ").append(this.entriesInheriting).append("; "); sb.append("parent: ").append((this.parentAcl == null) ? "Null" : this.parentAcl.getObjectIdentity().toString()); + sb.append("; "); sb.append("aclAuthorizationStrategy: ").append(this.aclAuthorizationStrategy).append("; "); sb.append("auditLogger: ").append(this.auditLogger); sb.append("]");