Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sources/net.sf.j2s.core/dist/swingjs/timestamp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20251109202645
20251218091505
2 changes: 1 addition & 1 deletion sources/net.sf.j2s.core/dist/swingjs/ver/5.0.1/timestamp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20251109202645
20251218091505
Binary file modified sources/net.sf.j2s.java.core/dist/SwingJS-site.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,26 @@ public BufferedOutputStream(OutputStream out) {
buf = new byte[8192];
}

/**
* Constructs a new BufferedOutputStream on the OutputStream
* <code>out</code>. The buffer size is set to <code>size</code> and
* all writes are now filtered through this stream.
*
* @param out
* the OutputStream to buffer writes on.
* @param size
* the size of the buffer in bytes.
* @throws IllegalArgumentException
* the size is <= 0
*/
public BufferedOutputStream(OutputStream out, int size) {
jzSetFOS(out);
if (size <= 0) {
// K0058=size must be > 0
throw new IllegalArgumentException(("K0058")); //$NON-NLS-1$
}
buf = new byte[size];
}
// /**
// * Constructs a new BufferedOutputStream on the OutputStream
// * <code>out</code>. The buffer size is set to <code>size</code> and
// * all writes are now filtered through this stream.
// *
// * @param out
// * the OutputStream to buffer writes on.
// * @param size
// * the size of the buffer in bytes.
// * @throws IllegalArgumentException
// * the size is <= 0
// */
// public BufferedOutputStream(OutputStream out, int size) {
// jzSetFOS(out);
// if (size <= 0) {
// // K0058=size must be > 0
// throw new IllegalArgumentException(("K0058")); //$NON-NLS-1$
// }
// buf = new byte[size];
// }

/**
* Flush this BufferedOutputStream to ensure all pending data is written out
Expand Down