+2004-11-06 Tom Tromey <tromey@redhat.com>
+
+ * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
+ package-private.
+ (Encoder): Likewise.
+ * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
+ (Encoder): Likewise.
+ * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
+ package-private.
+ (Encoder): Likewise.
+
2004-11-06 Mark Wielaard <mark@klomp.org>
* Makefile.am: Add new javax.imageio files.
/* ISO_8859_1.java --
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
private static final class Decoder extends CharsetDecoder
{
- private Decoder (Charset cs)
+ // Package-private to avoid a trampoline constructor.
+ Decoder (Charset cs)
{
super (cs, 1.0f, 1.0f);
}
private static final class Encoder extends CharsetEncoder
{
- private Encoder (Charset cs)
+ // Package-private to avoid a trampoline constructor.
+ Encoder (Charset cs)
{
super (cs, 1.0f, 1.0f);
}
/* US_ASCII.java --
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
private static final class Decoder extends CharsetDecoder
{
- private Decoder (Charset cs)
+ // Package-private to avoid a trampoline constructor.
+ Decoder (Charset cs)
{
super (cs, 1.0f, 1.0f);
}
private static final class Encoder extends CharsetEncoder
{
- private Encoder (Charset cs)
+ // Package-private to avoid a trampoline constructor.
+ Encoder (Charset cs)
{
super (cs, 1.0f, 1.0f);
}
/* UTF_8.java --
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
private static final class Decoder extends CharsetDecoder
{
- private Decoder (Charset cs)
+ // Package-private to avoid a trampoline constructor.
+ Decoder (Charset cs)
{
super (cs, 1.0f, 1.0f);
}
private static final class Encoder extends CharsetEncoder
{
- private Encoder (Charset cs)
+ // Package-private to avoid a trampoline constructor.
+ Encoder (Charset cs)
{
// According to
// http://www-106.ibm.com/developerworks/unicode/library/utfencodingforms/index.html