diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-05-06 21:44:50 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-05-06 21:44:50 +0000 |
commit | 033159fe529d8a6f0a67e8d15c95a65577544a5d (patch) | |
tree | 8a012c4ec0faa203d2dbf02d2a4563548963d087 /org | |
parent | cf06685008c6dc7253938c294464211ef1a55028 (diff) | |
download | classpath-033159fe529d8a6f0a67e8d15c95a65577544a5d.tar.gz |
2008-05-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/21869
* java/security/CodeSource.java,
* java/security/MessageDigest.java,
* java/security/Permission.java,
* java/security/PermissionCollection.java,
* java/security/ProtectionDomain.java,
* java/security/cert/CertPath.java,
* java/security/cert/PKIXBuilderParameters.java,
* java/security/cert/PKIXCertPathBuilderResult.java,
* java/security/cert/X509CRLSelector.java,
* java/security/cert/X509CertSelector.java,
* org/ietf/jgss/Oid.java,
* org/omg/CORBA/portable/Delegate.java:
Swap use of StringBuffer for CPStringBuilder.
Diffstat (limited to 'org')
-rw-r--r-- | org/ietf/jgss/Oid.java | 4 | ||||
-rw-r--r-- | org/omg/CORBA/portable/Delegate.java | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/org/ietf/jgss/Oid.java b/org/ietf/jgss/Oid.java index 769745611..bd01f9cfe 100644 --- a/org/ietf/jgss/Oid.java +++ b/org/ietf/jgss/Oid.java @@ -67,6 +67,8 @@ MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. */ package org.ietf.jgss; +import gnu.java.lang.CPStringBuilder; + import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.DataInputStream; @@ -241,7 +243,7 @@ public class Oid { if (strOid == null) { - StringBuffer buf = new StringBuffer(); + CPStringBuilder buf = new CPStringBuilder(); for (int i = 0; i < components.length; i++) { buf.append(components[i]); diff --git a/org/omg/CORBA/portable/Delegate.java b/org/omg/CORBA/portable/Delegate.java index 2f056ac31..6d1024461 100644 --- a/org/omg/CORBA/portable/Delegate.java +++ b/org/omg/CORBA/portable/Delegate.java @@ -38,6 +38,8 @@ exception statement from your version. */ package org.omg.CORBA.portable; +import gnu.java.lang.CPStringBuilder; + import org.omg.CORBA.BAD_PARAM; import org.omg.CORBA.Context; import org.omg.CORBA.ContextList; @@ -417,7 +419,7 @@ public abstract class Delegate if (self instanceof ObjectImpl) { ObjectImpl x = (ObjectImpl) self; - StringBuffer b = new StringBuffer(x.getClass().getName()); + CPStringBuilder b = new CPStringBuilder(x.getClass().getName()); b.append(": ["); for (int i = 0; i < x._ids().length; i++) { |