You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2012/03/22 21:41:01 UTC
svn commit: r1304044 - in
/commons/proper/io/trunk/src/main/java/org/apache/commons/io:
FileUtils.java IOUtils.java input/CharSequenceInputStream.java
Author: sebb
Date: Thu Mar 22 20:41:01 2012
New Revision: 1304044
URL: http://svn.apache.org/viewvc?rev=1304044&view=rev
Log:
Missing @since 2.2 markers; standardise format
Modified:
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java
commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java?rev=1304044&r1=1304043&r2=1304044&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java Thu Mar 22 20:41:01 2012
@@ -517,6 +517,7 @@ public class FileUtils {
* @return an collection of java.io.File with the matching files
* @see org.apache.commons.io.filefilter.FileFilterUtils
* @see org.apache.commons.io.filefilter.NameFileFilter
+ * @since 2.2
*/
public static Collection<File> listFilesAndDirs(
File directory, IOFileFilter fileFilter, IOFileFilter dirFilter) {
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java?rev=1304044&r1=1304043&r2=1304044&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/IOUtils.java Thu Mar 22 20:41:01 2012
@@ -1475,7 +1475,7 @@ public class IOUtils {
* @return the number of bytes copied
* @throws NullPointerException if the input or output is null
* @throws IOException if an I/O error occurs
- * @since Commons IO 2.2
+ * @since 2.2
*/
public static long copyLarge(InputStream input, OutputStream output, final long offset, final long length)
throws IOException {
@@ -1624,7 +1624,7 @@ public class IOUtils {
* @return the number of chars copied
* @throws NullPointerException if the input or output is null
* @throws IOException if an I/O error occurs
- * @since Commons IO 2.2
+ * @since 2.2
*/
public static long copyLarge(Reader input, Writer output, final long offset, final long length)
throws IOException {
@@ -1803,7 +1803,7 @@ public class IOUtils {
* @return true if the content of the readers are equal (ignoring EOL differences), false otherwise
* @throws NullPointerException if either input is null
* @throws IOException if an I/O error occurs
- * @since Commons IO 2.2
+ * @since 2.2
*/
public static boolean contentEqualsIgnoreEOL(Reader input1, Reader input2)
throws IOException {
@@ -2013,6 +2013,7 @@ public class IOUtils {
* @param length length to read, must be >= 0
* @return actual length read; may be less than requested if EOF was reached
* @throws IOException if a read error occurs
+ * @since 2.2
*/
public static int read(InputStream input, byte[] buffer, int offset, int length) throws IOException {
if (length < 0) {
@@ -2040,6 +2041,7 @@ public class IOUtils {
* @param buffer destination
* @return actual length read; may be less than requested if EOF was reached
* @throws IOException if a read error occurs
+ * @since 2.2
*/
public static int read(InputStream input, byte[] buffer) throws IOException {
return read(input, buffer, 0, buffer.length);
Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java?rev=1304044&r1=1304043&r2=1304044&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/CharSequenceInputStream.java Thu Mar 22 20:41:01 2012
@@ -33,7 +33,7 @@ import java.nio.charset.CodingErrorActio
* <p>
* <strong>Note:</strong> Supports {@link #mark(int)} and {@link #reset()}.
*
- * @since Commons IO 2.2
+ * @since 2.2
*/
public class CharSequenceInputStream extends InputStream {