Mercurial > hg > truffle
diff graal/com.oracle.max.base/src/com/sun/max/io/SeekableByteArrayOutputStream.java @ 4142:bc8527f3071c
Adjust code base to new level of warnings.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 18 Dec 2011 05:24:06 +0100 |
parents | e233f5660da4 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.max.base/src/com/sun/max/io/SeekableByteArrayOutputStream.java Sun Dec 18 05:23:52 2011 +0100 +++ b/graal/com.oracle.max.base/src/com/sun/max/io/SeekableByteArrayOutputStream.java Sun Dec 18 05:24:06 2011 +0100 @@ -47,7 +47,7 @@ /** * Updates the write position of this stream. The stream can only be repositioned between 0 and the * {@linkplain #endOfStream() end of the stream}. - * + * * @param index * the index to which the write position of this stream will be set * @throws IllegalArgumentException @@ -71,7 +71,7 @@ } @Override - public void reset() { + public synchronized void reset() { super.reset(); highestCount = 0; }