[armedbear-cvs] r12318 - trunk/abcl/src/org/armedbear/lisp/util

Erik Huelsmann ehuelsmann at common-lisp.net
Fri Jan 1 10:42:25 UTC 2010


Author: ehuelsmann
Date: Fri Jan  1 05:42:21 2010
New Revision: 12318

Log:
Remove trailing spaces/tabs which light my editing buffers red.

Modified:
   trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java

Modified: trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java	(original)
+++ trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java	Fri Jan  1 05:42:21 2010
@@ -58,7 +58,7 @@
         public RandomAccessInputStream() {
             super(null);
         }
-        
+
         private byte[] read_buf = new byte[1];
 
         @Override
@@ -72,7 +72,7 @@
                 return -1;
             }
         }
-                
+
         @Override
         public final int read(byte[] b, int off, int len) throws IOException {
             return RandomAccessCharacterFile.this.read(b, off, len);
@@ -162,11 +162,11 @@
             RandomAccessCharacterFile.this.close();
         }
     }
-    
+
     // dummy reader which we need to call the Pushback constructor
     // because a null value won't work
     private static Reader staticReader = new StringReader("");
-    
+
     private class RandomAccessReader extends PushbackReader {
 
         private RandomAccessReader() {
@@ -179,13 +179,13 @@
         public final void close() throws IOException {
             RandomAccessCharacterFile.this.close();
         }
-        
+
         private char[] read_buf = new char[1];
 
         @Override
         public final int read() throws IOException {
             int n = this.read(read_buf);
-            
+
             if (n == 1)
                 return read_buf[0];
             else
@@ -218,7 +218,7 @@
         public final int read(char[] cbuf) throws IOException {
             return RandomAccessCharacterFile.this.read(cbuf, 0, cbuf.length);
         }
-        
+
         @Override
         public final int read(char[] cb, int off, int len) throws IOException {
             return RandomAccessCharacterFile.this.read(cb, off, len);
@@ -252,17 +252,17 @@
 
 
     final static int BUFSIZ = 4*1024; // setting this to a small value like 8 is helpful for testing.
-	
+
     private RandomAccessWriter writer;
     private RandomAccessReader reader;
     private RandomAccessInputStream inputStream;
     private RandomAccessOutputStream outputStream;
     private FileChannel fcn;
-	
+
     private Charset cset;
     private CharsetEncoder cenc;
     private CharsetDecoder cdec;
-	
+
     /**
      * bbuf is treated as a cache of the file content.
      * If it points to somewhere in the middle of the file, it holds the copy of the file content,
@@ -303,28 +303,28 @@
         inputStream = new RandomAccessInputStream();
         outputStream = new RandomAccessOutputStream();
     }
-	
+
     public Writer getWriter() {
         return writer;
     }
-	
+
     public PushbackReader getReader() {
         return reader;
     }
-	
+
     public PushbackInputStream getInputStream() {
         return inputStream;
     }
-	
+
     public OutputStream getOutputStream() {
         return outputStream;
     }
-	
+
     public final void close() throws IOException {
         internalFlush(true);
         fcn.close();
     }
-	
+
     public final void flush() throws IOException {
         internalFlush(false);
     }
@@ -416,7 +416,7 @@
             bbufpos = newPosition;
         }
     }
-	
+
     public final long position() throws IOException {
         return bbufpos + bbuf.position(); // the logical position within the file.
     }
@@ -466,7 +466,7 @@
         }
         return pos - off;
     }
-        
+
     // a method corresponding to the good ol' ungetc in C.
     // This function may fail when using (combined) character codes that use
     // escape sequences to switch between sub-codes.
@@ -501,7 +501,7 @@
         long pos = position() - n;
         position(pos);
     }
-	
+
     public final void unreadByte(byte b) throws IOException {
         long pos = position() - 1;
         position(pos);




More information about the armedbear-cvs mailing list