Skip to content

Commit ad492ad

Browse files
committed
Javadoc
1 parent cb826f0 commit ad492ad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,29 +60,29 @@ static InputStream ifNull(final InputStream in) {
6060
}
6161

6262
/**
63-
* Construct a new instance.
63+
* Constructs a new instance.
6464
*/
6565
public ClosedInputStream() {
6666
// empty
6767
}
6868

6969
/**
70-
* Returns -1 to indicate that the stream is closed.
70+
* Returns {@code -1} to indicate that the stream is closed.
7171
*
72-
* @return always -1
72+
* @return always {@code -1}.
7373
*/
7474
@Override
7575
public int read() {
7676
return EOF;
7777
}
7878

7979
/**
80-
* Returns -1 to indicate that the stream is closed.
80+
* Returns {@code -1} to indicate that the stream is closed.
8181
*
8282
* @param b ignored.
8383
* @param off ignored.
8484
* @param len ignored.
85-
* @return always -1
85+
* @return always -1.
8686
*/
8787
@Override
8888
public int read(final byte[] b, final int off, final int len) throws IOException {

0 commit comments

Comments
 (0)