fox compiler warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144924 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-10 18:05:11 +00:00
parent 851d4f416c
commit 7e4be8f2ba
1 changed files with 3 additions and 3 deletions

View File

@ -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++;