diff options
Diffstat (limited to 'java/security/PermissionCollection.java')
-rw-r--r-- | java/security/PermissionCollection.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/java/security/PermissionCollection.java b/java/security/PermissionCollection.java index c5849830a..ef87cc7e1 100644 --- a/java/security/PermissionCollection.java +++ b/java/security/PermissionCollection.java @@ -37,6 +37,8 @@ exception statement from your version. */ package java.security; +import gnu.java.lang.CPStringBuilder; + import java.io.Serializable; import java.util.Enumeration; @@ -156,7 +158,7 @@ public abstract class PermissionCollection implements Serializable */ public String toString() { - StringBuffer sb = new StringBuffer(super.toString()); + CPStringBuilder sb = new CPStringBuilder(super.toString()); sb.append(" (\n"); Enumeration<Permission> e = elements(); |