2003-02-11 Michael Koch <konqueror@gmx.de>

* java/nio/channels/SelectionKey.java
	(OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
	values.

From-SVN: r62683
This commit is contained in:
Michael Koch 2003-02-11 06:50:13 +00:00 committed by Michael Koch
parent d62f8f8dc7
commit c34ce2a637
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2003-02-11 Michael Koch <konqueror@gmx.de>
* java/nio/channels/SelectionKey.java
(OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
values.
2003-02-11 Michael Koch <konqueror@gmx.de>
* java/nio/channels/DatagramChannel.java

View File

@ -43,10 +43,10 @@ package java.nio.channels;
*/
public abstract class SelectionKey
{
public static final int OP_ACCEPT = 1<<0;
public static final int OP_CONNECT = 1<<1;
public static final int OP_READ = 1<<2;
public static final int OP_WRITE = 1<<3;
public static final int OP_ACCEPT = 16;
public static final int OP_CONNECT = 8;
public static final int OP_READ = 1;
public static final int OP_WRITE = 4;
Object attached;