diff options
Diffstat (limited to 'libjava/gnu/java/nio/charset')
-rw-r--r-- | libjava/gnu/java/nio/charset/UTF_16Decoder.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libjava/gnu/java/nio/charset/UTF_16Decoder.java b/libjava/gnu/java/nio/charset/UTF_16Decoder.java index c8e474d..6ff9c28 100644 --- a/libjava/gnu/java/nio/charset/UTF_16Decoder.java +++ b/libjava/gnu/java/nio/charset/UTF_16Decoder.java @@ -144,24 +144,6 @@ final class UTF_16Decoder extends CharsetDecoder } } - /** - * Writes <code>c</code> to <code>out</code> in the byte order - * specified by <code>byteOrder</code>. - **/ - private void put (ByteBuffer out, char c) - { - if (byteOrder == BIG_ENDIAN) - { - out.put ((byte) (c >> 8)); - out.put ((byte) (c & 0xFF)); - } - else - { - out.put ((byte) (c & 0xFF)); - out.put ((byte) (c >> 8)); - } - } - protected void implReset () { byteOrder = originalByteOrder; |