src/share/classes/java/io/ByteArrayInputStream.java
Print this page
rev 10048 : 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo
Reviewed-by:
@@ -36,11 +36,11 @@
* this class can be called after the stream has been closed without
* generating an <tt>IOException</tt>.
*
* @author Arthur van Hoff
* @see java.io.StringBufferInputStream
- * @since JDK1.0
+ * @since 1.0
*/
public
class ByteArrayInputStream extends InputStream {
/**
@@ -71,11 +71,11 @@
* <code>reset()</code> method.
* <p>
* If no mark has been set, then the value of mark is the offset
* passed to the constructor (or 0 if the offset was not supplied).
*
- * @since JDK1.1
+ * @since 1.1
*/
protected int mark = 0;
/**
* The index one greater than the last valid character in the input
@@ -235,11 +235,11 @@
/**
* Tests if this <code>InputStream</code> supports mark/reset. The
* <code>markSupported</code> method of <code>ByteArrayInputStream</code>
* always returns <code>true</code>.
*
- * @since JDK1.1
+ * @since 1.1
*/
public boolean markSupported() {
return true;
}
@@ -254,11 +254,11 @@
* supplied).
*
* <p> Note: The <code>readAheadLimit</code> for this class
* has no meaning.
*
- * @since JDK1.1
+ * @since 1.1
*/
public void mark(int readAheadLimit) {
mark = pos;
}