Skip to content

Commit a116fc2

Browse files
committed
Use final
1 parent 613654d commit a116fc2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* @param <E> The stream and iterator type.
3030
* @since 2.9.0
3131
*/
32-
class StreamIterator<E> implements Iterator<E>, Closeable {
32+
final class StreamIterator<E> implements Iterator<E>, Closeable {
3333

3434
/**
3535
* Wraps and presents a stream as a closable resource that automatically closes itself when reaching the end of

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* }
3838
* </pre>
3939
*/
40-
class ThreadMonitor implements Runnable {
40+
final class ThreadMonitor implements Runnable {
4141

4242
/**
4343
* Starts monitoring the current thread.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* @since 2.12.0
2828
*/
29-
class UncheckedIOExceptions {
29+
final class UncheckedIOExceptions {
3030

3131
/**
3232
* Creates a new UncheckedIOException for the given detail message.

0 commit comments

Comments
 (0)