diff options
Diffstat (limited to 'libjava/classpath/org')
-rw-r--r-- | libjava/classpath/org/ietf/jgss/Oid.java | 4 | ||||
-rw-r--r-- | libjava/classpath/org/omg/CORBA/portable/Delegate.java | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libjava/classpath/org/ietf/jgss/Oid.java b/libjava/classpath/org/ietf/jgss/Oid.java index 7697456..bd01f9c 100644 --- a/libjava/classpath/org/ietf/jgss/Oid.java +++ b/libjava/classpath/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/libjava/classpath/org/omg/CORBA/portable/Delegate.java b/libjava/classpath/org/omg/CORBA/portable/Delegate.java index 2f056ac..6d10244 100644 --- a/libjava/classpath/org/omg/CORBA/portable/Delegate.java +++ b/libjava/classpath/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++) { |