Skip to content

Commit faac372

Browse files
committed
Javadoc
1 parent 5d98b95 commit faac372

4 files changed

Lines changed: 16 additions & 4 deletions

File tree

src/main/java/org/apache/commons/io/input/ProxyInputStream.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@ public synchronized void reset() throws IOException {
359359

360360
/**
361361
* Sets the underlying input stream.
362+
* <p>
363+
* Use with caution.
364+
* </p>
362365
*
363366
* @param in The input stream to set in {@link java.io.FilterInputStream#in}.
364367
* @return {@code this} instance.
@@ -389,7 +392,7 @@ public long skip(final long n) throws IOException {
389392
/**
390393
* Unwraps this instance by returning the underlying {@link InputStream}.
391394
* <p>
392-
* Use with caution; useful to query the underlying {@link InputStream}.
395+
* Use with caution.
393396
* </p>
394397
*
395398
* @return the underlying {@link InputStream}.

src/main/java/org/apache/commons/io/input/ProxyReader.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ public synchronized void reset() throws IOException {
260260

261261
/**
262262
* Sets the underlying reader.
263+
* <p>
264+
* Use with caution.
265+
* </p>
263266
*
264267
* @param in The input stream to set in {@code java.io.Reader#in}.
265268
* @return {@code this} instance.
@@ -291,7 +294,7 @@ public long skip(final long ln) throws IOException {
291294
/**
292295
* Unwraps this instance by returning the underlying {@link Reader}.
293296
* <p>
294-
* Use with caution; useful to query the underlying {@link Reader}.
297+
* Use with caution.
295298
* </p>
296299
*
297300
* @return the underlying {@link Reader}.

src/main/java/org/apache/commons/io/output/ProxyOutputStream.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ protected void handleIOException(final IOException e) throws IOException {
162162

163163
/**
164164
* Sets the underlying output stream.
165+
* <p>
166+
* Use with caution.
167+
* </p>
165168
*
166169
* @param out the underlying output stream.
167170
* @return {@code this} instance.
@@ -175,7 +178,7 @@ public ProxyOutputStream setReference(final OutputStream out) {
175178
/**
176179
* Unwraps this instance by returning the underlying {@link OutputStream}.
177180
* <p>
178-
* Use with caution; useful to query the underlying {@link OutputStream}.
181+
* Use with caution.
179182
* </p>
180183
*
181184
* @return the underlying {@link OutputStream}.

src/main/java/org/apache/commons/io/output/ProxyWriter.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,9 @@ protected void handleIOException(final IOException e) throws IOException {
183183

184184
/**
185185
* Sets the underlying writer.
186+
* <p>
187+
* Use with caution.
188+
* </p>
186189
*
187190
* @param out the underlying output writer.
188191
* @return {@code this} instance.
@@ -196,7 +199,7 @@ public ProxyWriter setReference(final Writer out) {
196199
/**
197200
* Unwraps this instance by returning the underlying {@link Writer}.
198201
* <p>
199-
* Use with caution; useful to query the underlying {@link Writer}.
202+
* Use with caution.
200203
* </p>
201204
*
202205
* @return the underlying {@link Writer}.

0 commit comments

Comments
 (0)