From 8a0ffe186fab945fbef362a0828f2936bd31d402 Mon Sep 17 00:00:00 2001 From: Dain Date: Wed, 30 Jan 2008 16:26:30 -0700 Subject: [PATCH] Adds appending of doubles to a StringBuffer --- classpath/java/lang/StringBuffer.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/classpath/java/lang/StringBuffer.java b/classpath/java/lang/StringBuffer.java index ddd0ed22eb..bc190f84a1 100644 --- a/classpath/java/lang/StringBuffer.java +++ b/classpath/java/lang/StringBuffer.java @@ -50,6 +50,11 @@ public class StringBuffer { return this; } + public synchronized StringBuffer append(double v) { + sb.append(v); + return this; + } + public synchronized StringBuffer append(char[] b, int offset, int length) { sb.append(b, offset, length); return this;