classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch: FYI: indentation fixlet


From: Tom Tromey
Subject: [cp-patches] Patch: FYI: indentation fixlet
Date: 10 Jan 2005 17:29:03 -0700

I'm checking this in.

This fixes an indentation bug in BufferedInputStream.

Tom

2005-01-10  Tom Tromey  <address@hidden>

        * java/io/BufferedInputStream.java: Fixed indentation.

Index: java/io/BufferedInputStream.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/io/BufferedInputStream.java,v
retrieving revision 1.14
diff -u -r1.14 BufferedInputStream.java
--- java/io/BufferedInputStream.java    7 Dec 2004 14:43:01 -0000       1.14
+++ java/io/BufferedInputStream.java    11 Jan 2005 00:32:44 -0000
@@ -321,7 +321,7 @@
   public synchronized long skip(long n) throws IOException
   {
     if (buf == null)
-       throw new IOException("Stream closed.");
+      throw new IOException("Stream closed.");
 
     final long origN = n;
 
@@ -347,7 +347,7 @@
   private boolean refill() throws IOException
   {
     if (buf == null)
-       throw new IOException("Stream closed.");
+      throw new IOException("Stream closed.");
 
     if (markpos == -1 || count - markpos >= marklimit)
       {
@@ -371,7 +371,7 @@
     int numread = super.read(buf, count, bufferSize);
 
     if (numread <= 0)  // EOF
-       return false;
+      return false;
 
     count += numread;
     return true;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]