/[classpath]/classpath/java/nio/channels/spi/AbstractSelectableChannel.java
ViewVC logotype

Diff of /classpath/java/nio/channels/spi/AbstractSelectableChannel.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by mkoch, Wed Apr 21 10:46:24 2004 UTC revision 1.17 by mkoch, Tue Nov 23 16:30:21 2004 UTC
# Line 35  this exception to your version of the li Line 35  this exception to your version of the li
35  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
36  exception statement from your version. */  exception statement from your version. */
37    
38    
39  package java.nio.channels.spi;  package java.nio.channels.spi;
40    
41  import java.io.IOException;  import java.io.IOException;
# Line 45  import java.nio.channels.Selector; Line 46  import java.nio.channels.Selector;
46  import java.util.LinkedList;  import java.util.LinkedList;
47  import java.util.ListIterator;  import java.util.ListIterator;
48    
   
49  public abstract class AbstractSelectableChannel extends SelectableChannel  public abstract class AbstractSelectableChannel extends SelectableChannel
50  {  {
51    private boolean blocking = true;    private boolean blocking = true;
# Line 226  public abstract class AbstractSelectable Line 226  public abstract class AbstractSelectable
226        {        {
227          key = locate(selector);          key = locate(selector);
228    
229          if (key != null)          if (key != null && key.isValid())
230            {            {
231              if (att != null)              if (att != null)
232                key.attach(att);                key.attach(att);

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26