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:
parent
365134f1bd
commit
df9d0a036e
@ -34,19 +34,19 @@ public final class HWPFOutputStream extends ByteArrayOutputStream
|
|||||||
return _offset;
|
return _offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reset()
|
public synchronized void reset()
|
||||||
{
|
{
|
||||||
super.reset();
|
super.reset();
|
||||||
_offset = 0;
|
_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);
|
super.write(buf, off, len);
|
||||||
_offset += len;
|
_offset += len;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void write(int b)
|
public synchronized void write(int b)
|
||||||
{
|
{
|
||||||
super.write(b);
|
super.write(b);
|
||||||
_offset++;
|
_offset++;
|
||||||
|
Loading…
Reference in New Issue
Block a user