[armedbear-cvs] r11983 - trunk/abcl/src/org/armedbear/lisp/util
Erik Huelsmann
ehuelsmann at common-lisp.net
Mon Jun 1 20:48:49 UTC 2009
Author: ehuelsmann
Date: Mon Jun 1 16:48:46 2009
New Revision: 11983
Log:
Immediately call RACF.write(byte[]) in 2 ROAS methods.
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 Mon Jun 1 16:48:46 2009
@@ -139,7 +139,12 @@
private byte[] buf = new byte[1];
public final void write(int b) throws IOException {
buf[0] = (byte)b;
- write(buf);
+ RandomAccessCharacterFile.this.write(buf, 0, 1);
+ }
+
+ @Override
+ public final void write(byte[] b) throws IOException {
+ RandomAccessCharacterFile.this.write(b, 0, b.length);
}
@Override
More information about the armedbear-cvs
mailing list