This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push: new 7a26933 Fix Javadoc comments WRT deprecation. 7a26933 is described below commit 7a26933008ecb89c3ddfdf0703b281c5293b712e Author: Gary Gregory <gardgreg...@gmail.com> AuthorDate: Tue Nov 5 12:36:42 2019 -0500 Fix Javadoc comments WRT deprecation. --- src/main/java/org/apache/commons/io/IOUtils.java | 18 +++++++++--------- src/main/java/org/apache/commons/io/LineIterator.java | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/apache/commons/io/IOUtils.java b/src/main/java/org/apache/commons/io/IOUtils.java index b7f4b2c..e1f9a24 100644 --- a/src/main/java/org/apache/commons/io/IOUtils.java +++ b/src/main/java/org/apache/commons/io/IOUtils.java @@ -338,7 +338,7 @@ public class IOUtils { * @param closeable the objects to close, may be null or already closed * @since 2.0 * - * @deprecated As of 2.6 removed without replacement. Please use the try-with-resources statement or handle + * @deprecated As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle * suppressed exceptions manually. * @see Throwable#addSuppressed(java.lang.Throwable) */ @@ -454,7 +454,7 @@ public class IOUtils { * @see #closeQuietly(Closeable) * @since 2.5 * - * @deprecated As of 2.6 removed without replacement. Please use the try-with-resources statement or handle + * @deprecated As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle * suppressed exceptions manually. * @see Throwable#addSuppressed(java.lang.Throwable) */ @@ -491,7 +491,7 @@ public class IOUtils { * * @param input the InputStream to close, may be null or already closed * - * @deprecated As of 2.6 removed without replacement. Please use the try-with-resources statement or handle + * @deprecated As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle * suppressed exceptions manually. * @see Throwable#addSuppressed(java.lang.Throwable) */ @@ -524,7 +524,7 @@ public class IOUtils { * * @param output the OutputStream to close, may be null or already closed * - * @deprecated As of 2.6 removed without replacement. Please use the try-with-resources statement or handle + * @deprecated As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle * suppressed exceptions manually. * @see Throwable#addSuppressed(java.lang.Throwable) */ @@ -556,7 +556,7 @@ public class IOUtils { * * @param input the Reader to close, may be null or already closed * - * @deprecated As of 2.6 removed without replacement. Please use the try-with-resources statement or handle + * @deprecated As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle * suppressed exceptions manually. * @see Throwable#addSuppressed(java.lang.Throwable) */ @@ -588,7 +588,7 @@ public class IOUtils { * @param selector the Selector to close, may be null or already closed * @since 2.2 * - * @deprecated As of 2.6 removed without replacement. Please use the try-with-resources statement or handle + * @deprecated As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle * suppressed exceptions manually. * @see Throwable#addSuppressed(java.lang.Throwable) */ @@ -620,7 +620,7 @@ public class IOUtils { * @param serverSocket the ServerSocket to close, may be null or already closed * @since 2.2 * - * @deprecated As of 2.6 removed without replacement. Please use the try-with-resources statement or handle + * @deprecated As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle * suppressed exceptions manually. * @see Throwable#addSuppressed(java.lang.Throwable) */ @@ -652,7 +652,7 @@ public class IOUtils { * @param socket the Socket to close, may be null or already closed * @since 2.0 * - * @deprecated As of 2.6 removed without replacement. Please use the try-with-resources statement or handle + * @deprecated As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle * suppressed exceptions manually. * @see Throwable#addSuppressed(java.lang.Throwable) */ @@ -683,7 +683,7 @@ public class IOUtils { * * @param output the Writer to close, may be null or already closed * - * @deprecated As of 2.6 removed without replacement. Please use the try-with-resources statement or handle + * @deprecated As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle * suppressed exceptions manually. * @see Throwable#addSuppressed(java.lang.Throwable) */ diff --git a/src/main/java/org/apache/commons/io/LineIterator.java b/src/main/java/org/apache/commons/io/LineIterator.java index c3ca9c3..70d3002 100644 --- a/src/main/java/org/apache/commons/io/LineIterator.java +++ b/src/main/java/org/apache/commons/io/LineIterator.java @@ -176,7 +176,7 @@ public class LineIterator implements Iterator<String>, Closeable { * Closes a {@code LineIterator} quietly. * * @param iterator The iterator to close, or {@code null}. - * @deprecated As of 2.6 removed without replacement. Please use the try-with-resources statement or handle + * @deprecated As of 2.6 deprecated without replacement. Please use the try-with-resources statement or handle * suppressed exceptions manually. * @see Throwable#addSuppressed(java.lang.Throwable) */