Skip to content
Snippets Groups Projects
Commit b796788f authored by tromey's avatar tromey
Browse files

* 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.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90196 138bc75d-0d04-0410-961f-82ee72b054a4
parent 79739395
No related merge requests found
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> 2004-11-06 Mark Wielaard <mark@klomp.org>
* Makefile.am: Add new javax.imageio files. * Makefile.am: Add new javax.imageio files.
......
/* ISO_8859_1.java -- /* 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. This file is part of GNU Classpath.
...@@ -73,7 +73,8 @@ final class ISO_8859_1 extends Charset ...@@ -73,7 +73,8 @@ final class ISO_8859_1 extends Charset
private static final class Decoder extends CharsetDecoder 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); super (cs, 1.0f, 1.0f);
} }
...@@ -100,7 +101,8 @@ final class ISO_8859_1 extends Charset ...@@ -100,7 +101,8 @@ final class ISO_8859_1 extends Charset
private static final class Encoder extends CharsetEncoder 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); super (cs, 1.0f, 1.0f);
} }
......
/* US_ASCII.java -- /* 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. This file is part of GNU Classpath.
...@@ -73,7 +73,8 @@ final class US_ASCII extends Charset ...@@ -73,7 +73,8 @@ final class US_ASCII extends Charset
private static final class Decoder extends CharsetDecoder 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); super (cs, 1.0f, 1.0f);
} }
...@@ -105,7 +106,8 @@ final class US_ASCII extends Charset ...@@ -105,7 +106,8 @@ final class US_ASCII extends Charset
private static final class Encoder extends CharsetEncoder 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); super (cs, 1.0f, 1.0f);
} }
......
/* UTF_8.java -- /* 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. This file is part of GNU Classpath.
...@@ -84,7 +84,8 @@ final class UTF_8 extends Charset ...@@ -84,7 +84,8 @@ final class UTF_8 extends Charset
private static final class Decoder extends CharsetDecoder 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); super (cs, 1.0f, 1.0f);
} }
...@@ -171,7 +172,8 @@ final class UTF_8 extends Charset ...@@ -171,7 +172,8 @@ final class UTF_8 extends Charset
private static final class Encoder extends CharsetEncoder private static final class Encoder extends CharsetEncoder
{ {
private Encoder (Charset cs) // Package-private to avoid a trampoline constructor.
Encoder (Charset cs)
{ {
// According to // According to
// http://www-106.ibm.com/developerworks/unicode/library/utfencodingforms/index.html // http://www-106.ibm.com/developerworks/unicode/library/utfencodingforms/index.html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment