--- /home/cpdev/src/classpath/java/nio/charset/CharsetDecoder.java	2005-07-02 21:03:37.000000000 +0000
+++ java/nio/charset/CharsetDecoder.java	2005-06-30 05:34:43.000000000 +0000
@@ -131,11 +131,7 @@
 
     reset();
     out.flip ();
-
-    // Unfortunately, resizing the actual charbuffer array is required.
-    char[] resized = new char[out.remaining()];
-    out.get(resized);
-    return CharBuffer.wrap(resized);
+    return out;
   }
 
   public final CoderResult decode (ByteBuffer in, CharBuffer out,
@@ -160,7 +156,7 @@
             cr = decodeLoop (in, out);
           }
         catch (RuntimeException e)
-	  {
+          {
             throw new CoderMalfunctionError (e);
           }
 
