2003-05-13 Michael Koch <konqueror@gmx.de>

* java/nio/channels/FileChannel.java
	(MapMode.m): Made it package-private to match JDK 1.4.
	* java/nio/charset/Charset.java
	(decode): Made it final to match JDK 1.4.

From-SVN: r66756
This commit is contained in:
Michael Koch
2003-05-13 10:25:00 +00:00
committed by Michael Koch
parent e48d8b8886
commit c6f824e248
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ public abstract class FileChannel extends AbstractInterruptibleChannel
{
public static class MapMode
{
public int m;
int m;
public static MapMode READ_ONLY = new MapMode(0);
public static MapMode READ_WRITE = new MapMode(1);
+1 -1
View File
@@ -235,7 +235,7 @@ public abstract class Charset implements Comparable
return encode (CharBuffer.wrap (str));
}
public CharBuffer decode (ByteBuffer bb)
public final CharBuffer decode (ByteBuffer bb)
{
try
{