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 c7f243b Javadoc.
c7f243b is described below
commit c7f243b998786d259b6e09b1a0429f0403c4f019
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Aug 9 17:28:46 2019 -0400
Javadoc.
---
.../java/org/apache/commons/io/output/ClosedOutputStream.java | 9 ++++-----
src/main/java/org/apache/commons/io/output/ClosedWriter.java | 9 ++++-----
2 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/src/main/java/org/apache/commons/io/output/ClosedOutputStream.java
b/src/main/java/org/apache/commons/io/output/ClosedOutputStream.java
index 90b56db..cc77d9d 100644
--- a/src/main/java/org/apache/commons/io/output/ClosedOutputStream.java
+++ b/src/main/java/org/apache/commons/io/output/ClosedOutputStream.java
@@ -20,12 +20,11 @@ import java.io.IOException;
import java.io.OutputStream;
/**
- * Closed output stream. This stream throws an exception on all attempts to
- * write something to the stream.
+ * Throws an exception on all attempts to write to the stream.
* <p>
- * Typically uses of this class include testing for corner cases in methods
- * that accept an output stream and acting as a sentinel value instead of
- * a {@code null} output stream.
+ * Typically uses of this class include testing for corner cases in methods
that accept an output stream and acting as a
+ * sentinel value instead of a {@code null} output stream.
+ * </p>
*
* @since 1.4
*/
diff --git a/src/main/java/org/apache/commons/io/output/ClosedWriter.java
b/src/main/java/org/apache/commons/io/output/ClosedWriter.java
index 9ae0e06..0d77beb 100644
--- a/src/main/java/org/apache/commons/io/output/ClosedWriter.java
+++ b/src/main/java/org/apache/commons/io/output/ClosedWriter.java
@@ -20,12 +20,11 @@ import java.io.IOException;
import java.io.Writer;
/**
- * Closed writer. This writer throws an exception on all attempts to
- * write something to it.
+ * Throws an exception on all attempts to write with {@link #close()}
implemented as a noop.
* <p>
- * Typically uses of this class include testing for corner cases in methods
- * that accept a writer and acting as a sentinel value instead of
- * a {@code null} writer.
+ * Typically uses of this class include testing for corner cases in methods
that accept a writer and acting as a
+ * sentinel value instead of a {@code null} writer.
+ * </p>
*
* @since 2.7
*/