Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
4141:04d21be7a24f | 4142:bc8527f3071c |
---|---|
45 } | 45 } |
46 | 46 |
47 /** | 47 /** |
48 * Updates the write position of this stream. The stream can only be repositioned between 0 and the | 48 * Updates the write position of this stream. The stream can only be repositioned between 0 and the |
49 * {@linkplain #endOfStream() end of the stream}. | 49 * {@linkplain #endOfStream() end of the stream}. |
50 * | 50 * |
51 * @param index | 51 * @param index |
52 * the index to which the write position of this stream will be set | 52 * the index to which the write position of this stream will be set |
53 * @throws IllegalArgumentException | 53 * @throws IllegalArgumentException |
54 * if {@code index > highestSeekIndex()} | 54 * if {@code index > highestSeekIndex()} |
55 */ | 55 */ |
69 } | 69 } |
70 return highestCount; | 70 return highestCount; |
71 } | 71 } |
72 | 72 |
73 @Override | 73 @Override |
74 public void reset() { | 74 public synchronized void reset() { |
75 super.reset(); | 75 super.reset(); |
76 highestCount = 0; | 76 highestCount = 0; |
77 } | 77 } |
78 | 78 |
79 /** | 79 /** |