@@ -194,6 +194,7 @@ public static void closeQuietly(Reader input) {
194194 * </pre>
195195 *
196196 * @param channel the Channel to close, may be null or already closed
197+ * @since Commons IO 2.0
197198 */
198199 public static void closeQuietly (Channel channel ) {
199200 closeQuietly ((Closeable )channel );
@@ -333,6 +334,7 @@ public static void closeQuietly(Closeable closeable) {
333334 * </pre>
334335 *
335336 * @param sock the Socket to close, may be null or already closed
337+ * @since Commons IO 2.0
336338 */
337339 public static void closeQuietly (Socket sock ){
338340 if (sock != null ){
@@ -760,7 +762,7 @@ public static LineIterator lineIterator(InputStream input, String encoding)
760762 *
761763 * @param input the CharSequence to convert
762764 * @return an input stream
763- * @since IO 2.0
765+ * @since Commons IO 2.0
764766 */
765767 public static InputStream toInputStream (CharSequence input ) {
766768 return toInputStream (input .toString ());
@@ -777,7 +779,7 @@ public static InputStream toInputStream(CharSequence input) {
777779 * @param encoding the encoding to use, null means platform default
778780 * @throws IOException if the encoding is invalid
779781 * @return an input stream
780- * @since IO 2.0
782+ * @since Commons IO 2.0
781783 */
782784 public static InputStream toInputStream (CharSequence input , String encoding ) throws IOException {
783785 return toInputStream (input .toString (), encoding );
@@ -1548,6 +1550,7 @@ public static boolean contentEquals(Reader input1, Reader input2)
15481550 *
15491551 * @throws IOException if there is a problem reading the file
15501552 * @throws IllegalArgumentException if toSkip is negative
1553+ * @since Commons IO 2.0
15511554 */
15521555 public static long skip (InputStream input , long toSkip ) throws IOException {
15531556 if (toSkip < 0 ) {
@@ -1588,6 +1591,7 @@ public static long skip(InputStream input, long toSkip) throws IOException {
15881591 *
15891592 * @throws IOException if there is a problem reading the file
15901593 * @throws IllegalArgumentException if toSkip is negative
1594+ * @since Commons IO 2.0
15911595 */
15921596 public static long skip (Reader input , long toSkip ) throws IOException {
15931597 if (toSkip < 0 ) {
@@ -1627,6 +1631,7 @@ public static long skip(Reader input, long toSkip) throws IOException {
16271631 * @throws IOException if there is a problem reading the file
16281632 * @throws IllegalArgumentException if toSkip is negative
16291633 * @throws EOFException if the number of bytes skipped was incorrect
1634+ * @since Commons IO 2.0
16301635 */
16311636 public static void skipFully (InputStream input , long toSkip ) throws IOException {
16321637 if (toSkip < 0 ){
@@ -1651,6 +1656,7 @@ public static void skipFully(InputStream input, long toSkip) throws IOException
16511656 * @throws IOException if there is a problem reading the file
16521657 * @throws IllegalArgumentException if toSkip is negative
16531658 * @throws EOFException if the number of characters skipped was incorrect
1659+ * @since Commons IO 2.0
16541660 */
16551661 public static void skipFully (Reader input , long toSkip ) throws IOException {
16561662 long skipped = skip (input , toSkip );
0 commit comments