Skip to content

Commit 20a731f

Browse files
authored
Merge pull request #4 from BobHanson/yadav1
Yadav1 continues testing of Jmol/SwingJS
2 parents 7fd04a7 + e825baa commit 20a731f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1844
-3120
lines changed

sources/net.sf.j2s.java.core/src/java/io/ByteArrayOutputStream.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,12 @@ private static byte[] arrayCopyByte(byte[] array, int newLength) {
124124
}
125125

126126

127-
@Override
128-
public void write(int oneByte) throws IOException {
129-
writeByteAsInt(oneByte);
130-
}
131-
132127
/**
133128
* Writes the specified byte to this byte array output stream.
134129
*
135130
* @param b the byte to be written.
136131
*/
137-
public synchronized void writeByteAsInt(int b) {
132+
public synchronized void write(int b) {
138133
ensureCapacity(count + 1);
139134
buf[count] = (byte) b;
140135
count += 1;

0 commit comments

Comments
 (0)