/[classpath]/classpath/java/io/PipedOutputStream.java
ViewVC logotype

Diff of /classpath/java/io/PipedOutputStream.java

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

revision 1.6 by mark, Tue Jan 22 22:26:59 2002 UTC revision 1.7 by daryllee, Thu Dec 26 01:21:25 2002 UTC
# Line 97  public class PipedOutputStream extends O Line 97  public class PipedOutputStream extends O
97      */      */
98    public void connect(PipedInputStream sink) throws IOException    public void connect(PipedInputStream sink) throws IOException
99    {    {
100      if (sink != null)      if (this.sink != null || sink.source != null)
101        throw new IOException ("Already connected");        throw new IOException ("Already connected");
102      sink.connect(this);      sink.connect(this);
103    }    }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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