[armedbear-cvs] r12596 - trunk/abcl/src/org/armedbear/lisp

Erik Huelsmann ehuelsmann at common-lisp.net
Sat Apr 10 20:30:28 UTC 2010


Author: ehuelsmann
Date: Sat Apr 10 16:30:28 2010
New Revision: 12596

Log:
Remove unused imports and rename a local variable shadowing a field.

Modified:
   trunk/abcl/src/org/armedbear/lisp/Stream.java

Modified: trunk/abcl/src/org/armedbear/lisp/Stream.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/Stream.java	(original)
+++ trunk/abcl/src/org/armedbear/lisp/Stream.java	Sat Apr 10 16:30:28 2010
@@ -37,10 +37,8 @@
 
 import java.io.BufferedInputStream;
 import java.io.BufferedOutputStream;
-import java.io.BufferedReader;
 import java.io.IOException;
 import java.io.InputStream;
-import java.io.InputStreamReader;
 import java.io.OutputStream;
 import java.io.OutputStreamWriter;
 import java.io.PrintWriter;
@@ -154,12 +152,12 @@
         setExternalFormat(format);
 
         if (elementType == Symbol.CHARACTER || elementType == Symbol.BASE_CHAR) {
-            Reader reader =
+            Reader r =
                 new DecodingReader(inputStream, 4096,
                                    (encoding == null)
                                    ? Charset.defaultCharset()
                                    : Charset.forName(encoding));
-            initAsCharacterInputStream(reader);
+            initAsCharacterInputStream(r);
         } else {
             isBinaryStream = true;
             InputStream stream = new BufferedInputStream(inputStream);




More information about the armedbear-cvs mailing list