Changeset 11417
- Timestamp:
- 12/04/08 23:17:46 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/open-external-format/src/org/armedbear/lisp/Stream.java
r11416 r11417 152 152 { 153 153 isBinaryStream = true; 154 InputStream in= new BufferedInputStream(inputStream);155 initAsBinaryInputStream( in);154 InputStream stream = new BufferedInputStream(inputStream); 155 initAsBinaryInputStream(stream); 156 156 } 157 157 } … … 175 175 if (elementType == Symbol.CHARACTER || elementType == Symbol.BASE_CHAR) 176 176 { 177 Writer w riter;177 Writer w; 178 178 try 179 179 { 180 w riter= (encoding == null) ?180 w = (encoding == null) ? 181 181 new OutputStreamWriter(outputStream) 182 182 : new OutputStreamWriter(outputStream, encoding); … … 185 185 { 186 186 Debug.trace(e); 187 w riter= new OutputStreamWriter(outputStream);188 } 189 initAsCharacterOutputStream(w riter);187 w = new OutputStreamWriter(outputStream); 188 } 189 initAsCharacterOutputStream(w); 190 190 } 191 191 else 192 192 { 193 OutputStream out= new BufferedOutputStream(outputStream);194 initAsBinaryOutputStream( out);193 OutputStream stream = new BufferedOutputStream(outputStream); 194 initAsBinaryOutputStream(stream); 195 195 } 196 196 }
Note: See TracChangeset
for help on using the changeset viewer.