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

Diff of /classpath/java/io/PushbackInputStream.java

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

revision 1.13.2.3 by gnu_andrew, Tue Aug 2 20:12:20 2005 UTC revision 1.13.2.4 by gnu_andrew, Tue Sep 20 18:46:27 2005 UTC
# Line 116  public class PushbackInputStream extends Line 116  public class PushbackInputStream extends
116     */     */
117    public int available() throws IOException    public int available() throws IOException
118    {    {
119      return (buf.length - pos) + super.available();      try
120          {
121            return (buf.length - pos) + super.available();
122          }
123        catch (NullPointerException npe)
124          {
125            throw new IOException ("Stream closed");
126          }
127    }    }
128    
129    /**    /**

Legend:
Removed from v.1.13.2.3  
changed lines
  Added in v.1.13.2.4

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