diff options
Diffstat (limited to 'libjava/classpath/javax/imageio/plugins')
-rw-r--r-- | libjava/classpath/javax/imageio/plugins/jpeg/JPEGHuffmanTable.java | 4 | ||||
-rw-r--r-- | libjava/classpath/javax/imageio/plugins/jpeg/JPEGQTable.java | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/libjava/classpath/javax/imageio/plugins/jpeg/JPEGHuffmanTable.java b/libjava/classpath/javax/imageio/plugins/jpeg/JPEGHuffmanTable.java index c0567be7830..378e11fa617 100644 --- a/libjava/classpath/javax/imageio/plugins/jpeg/JPEGHuffmanTable.java +++ b/libjava/classpath/javax/imageio/plugins/jpeg/JPEGHuffmanTable.java @@ -38,6 +38,8 @@ package javax.imageio.plugins.jpeg; +import gnu.java.lang.CPStringBuilder; + /** * The JPEGHuffmanTable class represents a Huffman table read from a * JPEG image file. The standard JPEG AC and DC chrominance and @@ -263,7 +265,7 @@ public class JPEGHuffmanTable */ public String toString() { - StringBuffer buffer = new StringBuffer(); + CPStringBuilder buffer = new CPStringBuilder(); buffer.append("JPEGHuffmanTable:\nlengths:"); diff --git a/libjava/classpath/javax/imageio/plugins/jpeg/JPEGQTable.java b/libjava/classpath/javax/imageio/plugins/jpeg/JPEGQTable.java index a94e8b1880d..259d0aa6437 100644 --- a/libjava/classpath/javax/imageio/plugins/jpeg/JPEGQTable.java +++ b/libjava/classpath/javax/imageio/plugins/jpeg/JPEGQTable.java @@ -38,6 +38,8 @@ package javax.imageio.plugins.jpeg; +import gnu.java.lang.CPStringBuilder; + /** * The JPEGQTable class represents a quantization table that can be * used to encode or decode a JPEG stream. The standard JPEG @@ -178,7 +180,7 @@ public class JPEGQTable */ public String toString() { - StringBuffer buffer = new StringBuffer(); + CPStringBuilder buffer = new CPStringBuilder(); buffer.append("JPEGQTable:\n"); for (int i = 0; i < 8; i++) |