summaryrefslogtreecommitdiff
path: root/tools/gnu/classpath/tools/orbd/PersistentMap.java
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gnu/classpath/tools/orbd/PersistentMap.java')
-rw-r--r--tools/gnu/classpath/tools/orbd/PersistentMap.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gnu/classpath/tools/orbd/PersistentMap.java b/tools/gnu/classpath/tools/orbd/PersistentMap.java
index 6c6164d21..87ade64cc 100644
--- a/tools/gnu/classpath/tools/orbd/PersistentMap.java
+++ b/tools/gnu/classpath/tools/orbd/PersistentMap.java
@@ -165,7 +165,7 @@ public class PersistentMap
*/
public String getKey(String id, String kind)
{
- StringBuffer b = new StringBuffer(id.length() + 8);
+ StringBuilder b = new StringBuilder(id.length() + 8);
appEscaping(b, id);
b.append('.');
if (kind != null && kind.length() > 0)
@@ -180,7 +180,7 @@ public class PersistentMap
* @param b a buffer to append the contents to.
* @param s a string to append.
*/
- void appEscaping(StringBuffer b, String s)
+ void appEscaping(StringBuilder b, String s)
{
char c;
for (int i = 0; i < s.length(); i++)