From 7e4be8f2ba3b79655c8a88f5b28d3ba655644184 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Sun, 10 Jul 2011 18:05:11 +0000 Subject: [PATCH] fox compiler warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144924 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hwpf/model/io/HWPFOutputStream.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/io/HWPFOutputStream.java b/src/scratchpad/src/org/apache/poi/hwpf/model/io/HWPFOutputStream.java index 537576ff99..b95f4b620f 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/model/io/HWPFOutputStream.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/model/io/HWPFOutputStream.java @@ -34,19 +34,19 @@ public final class HWPFOutputStream extends ByteArrayOutputStream return _offset; } - public void reset() + public synchronized void reset() { super.reset(); _offset = 0; } - public void write(byte[] buf, int off, int len) + public synchronized void write(byte[] buf, int off, int len) { super.write(buf, off, len); _offset += len; } - public void write(int b) + public synchronized void write(int b) { super.write(b); _offset++; -- 2.39.5