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:
committed by
Michael Koch
parent
e48d8b8886
commit
c6f824e248
@@ -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);
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user