Ensure that we delegate calls to write(byte[]) and write(byte[], int, int) to the underlying OutputStream when writing to the file-based content repository for stateless
This closes
@@ -359,6 +359,21 @@ public class StatelessFileSystemContentRepository implements ContentRepository {
this.initialOffset = out.getBytesWritten();
}
+ @Override
+ public void write(final byte[] b, final int off, final int len) throws IOException {
+ out.write(b, off, len);
+ }
+
+ @Override
+ public void write(final byte[] b) throws IOException {
+ out.write(b);
+ }
+
+ @Override
+ public void write(final int b) throws IOException {
+ out.write(b);
+ }
+
@Override
public synchronized void close() throws IOException {
if (closed) {
