Skip to content

Commit 8e1b2ee

Browse files
committed
Add missing @OverRide
- Remove trailing whitespace - Javadoc
1 parent 80c82bf commit 8e1b2ee

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public class IOUtils {
224224
/**
225225
* The maximum size of an array in many Java VMs.
226226
* <p>
227-
* The constant is copied from OpenJDK's {@link jdk.internal.util.ArraysSupport#SOFT_MAX_ARRAY_LENGTH}.
227+
* The constant is copied from OpenJDK's {@code jdk.internal.util.ArraysSupport#SOFT_MAX_ARRAY_LENGTH}.
228228
* </p>
229229
*
230230
* @since 2.21.0

src/test/java/org/apache/commons/io/channels/ByteArraySeekableByteChannelTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
* A sanity test to make sure {@link AbstractSeekableByteChannelTest} works for files.
2525
*/
2626
public class ByteArraySeekableByteChannelTest extends AbstractSeekableByteChannelTest {
27-
27+
28+
@Override
2829
protected SeekableByteChannel createChannel() throws IOException {
2930
return new ByteArraySeekableByteChannel();
3031
}

src/test/java/org/apache/commons/io/channels/FileSeekableByteChannelTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
* A sanity test to make sure {@link AbstractSeekableByteChannelTest} works for files.
2727
*/
2828
public class FileSeekableByteChannelTest extends AbstractSeekableByteChannelTest {
29-
29+
30+
@Override
3031
protected SeekableByteChannel createChannel() throws IOException {
3132
return Files.newByteChannel(tempFile, StandardOpenOption.CREATE, StandardOpenOption.READ, StandardOpenOption.WRITE,
3233
StandardOpenOption.TRUNCATE_EXISTING);

0 commit comments

Comments
 (0)