harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r405470 - /incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/java/nio/channels/Channel.java
Date Tue, 09 May 2006 16:59:45 GMT
Author: tellison
Date: Tue May  9 09:59:45 2006
New Revision: 405470

URL: http://svn.apache.org/viewcvs?rev=405470&view=rev
Log:
Add extends Closable declaration as per spec.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/java/nio/channels/Channel.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/java/nio/channels/Channel.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/java/nio/channels/Channel.java?rev=405470&r1=405469&r2=405470&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/java/nio/channels/Channel.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/java/nio/channels/Channel.java
Tue May  9 09:59:45 2006
@@ -16,6 +16,7 @@
 package java.nio.channels;
 
 
+import java.io.Closeable;
 import java.io.IOException;
 
 /**
@@ -33,7 +34,7 @@
  * </p>
  * 
  */
-public interface Channel {
+public interface Channel extends Closeable {
 
 	/**
 	 * Answers whether this channel is open or not.



Mime
View raw message