Skip to content

Commit 9330932

Browse files
committed
Fix typos in Javadoc and comments
1 parent 73327b4 commit 9330932

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/main/java/org/apache/commons/io/Charsets.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public static Charset toCharset(final Charset charset) {
188188
*
189189
* @param charset The charset to test, may be null.
190190
* @param defaultCharset The charset to return if charset is null, may be null.
191-
* @return a Charset .
191+
* @return a Charset.
192192
* @since 2.12.0
193193
*/
194194
public static Charset toCharset(final Charset charset, final Charset defaultCharset) {

src/main/java/org/apache/commons/io/build/AbstractOriginSupplier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ protected static URIOrigin newURIOrigin(final URI origin) {
176176
* Constructs a new writer origin for a file.
177177
*
178178
* @param origin the writer.
179-
* @return a new writer .
179+
* @return a new writer.
180180
*/
181181
protected static WriterOrigin newWriterOrigin(final Writer origin) {
182182
return new WriterOrigin(origin);

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ public void fileRotated() {
6464
}
6565

6666
/**
67-
* Handles an Exception .
67+
* Handles an Exception.
68+
*
6869
* @param ex the exception.
6970
*/
7071
@Override
@@ -74,6 +75,7 @@ public void handle(final Exception ex) {
7475

7576
/**
7677
* Handles a line from a Tailer.
78+
*
7779
* @param line the line.
7880
*/
7981
@Override
@@ -84,6 +86,7 @@ public void handle(final String line) {
8486
/**
8587
* The tailer will call this method during construction,
8688
* giving the listener a method of stopping the tailer.
89+
*
8790
* @param tailer the tailer.
8891
*/
8992
@Override

0 commit comments

Comments
 (0)