This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-compress.git
The following commit(s) were added to refs/heads/master by this push: new 3b0d12a1d Java Java 7 Javadoc link with Java 8 3b0d12a1d is described below commit 3b0d12a1d3bdee387b8b2e1a668950fa4618edf9 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sun Nov 12 09:03:11 2023 -0500 Java Java 7 Javadoc link with Java 8 --- .../org/apache/commons/compress/archivers/sevenz/Coders.java | 2 +- .../compress/utils/MultiReadOnlySeekableByteChannelTest.java | 8 ++++---- .../compress/utils/SeekableInMemoryByteChannelTest.java | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java index 986896e8c..c20f8d8ce 100644 --- a/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java +++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/Coders.java @@ -186,7 +186,7 @@ final class Coders { // byte following the data stream; this used to be zlib's requirement // and has been fixed a long time ago, but the contract persists so // we comply. - // https://docs.oracle.com/javase/7/docs/api/java/util/zip/Inflater.html#Inflater(boolean) + // https://docs.oracle.com/javase/8/docs/api/java/util/zip/Inflater.html#Inflater(boolean) final InflaterInputStream inflaterInputStream = new InflaterInputStream(new SequenceInputStream(in, new ByteArrayInputStream(ONE_ZERO_BYTE)), inflater); return new DeflateDecoderInputStream(inflaterInputStream, inflater); diff --git a/src/test/java/org/apache/commons/compress/utils/MultiReadOnlySeekableByteChannelTest.java b/src/test/java/org/apache/commons/compress/utils/MultiReadOnlySeekableByteChannelTest.java index 735c93907..8f8410449 100644 --- a/src/test/java/org/apache/commons/compress/utils/MultiReadOnlySeekableByteChannelTest.java +++ b/src/test/java/org/apache/commons/compress/utils/MultiReadOnlySeekableByteChannelTest.java @@ -297,7 +297,7 @@ public class MultiReadOnlySeekableByteChannelTest { checkEmpty(makeEmpty()); } - // https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html#close() + // https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html#close() /* * <q>ClosedChannelException - If this channel is closed</q> @@ -310,7 +310,7 @@ public class MultiReadOnlySeekableByteChannelTest { } } - // https://docs.oracle.com/javase/7/docs/api/java/nio/channels/SeekableByteChannel.html#position() + // https://docs.oracle.com/javase/8/docs/api/java/nio/channels/SeekableByteChannel.html#position() /* * <q>ClosedChannelException - If this channel is closed</q> @@ -323,7 +323,7 @@ public class MultiReadOnlySeekableByteChannelTest { } } - // https://docs.oracle.com/javase/7/docs/api/java/nio/channels/SeekableByteChannel.html#size() + // https://docs.oracle.com/javase/8/docs/api/java/nio/channels/SeekableByteChannel.html#size() /* * <q>IOException - If the new position is negative</q> @@ -335,7 +335,7 @@ public class MultiReadOnlySeekableByteChannelTest { } } - // https://docs.oracle.com/javase/7/docs/api/java/nio/channels/SeekableByteChannel.html#position(long) + // https://docs.oracle.com/javase/8/docs/api/java/nio/channels/SeekableByteChannel.html#position(long) @Test public void testTwoEmptyChannelsConcatenateAsEmptyChannel() throws IOException { diff --git a/src/test/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannelTest.java b/src/test/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannelTest.java index e6071df8d..f3644dfd6 100644 --- a/src/test/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannelTest.java +++ b/src/test/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannelTest.java @@ -200,7 +200,7 @@ public class SeekableInMemoryByteChannelTest { // Contract Tests added in response to https://issues.apache.org/jira/browse/COMPRESS-499 - // https://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html#close() + // https://docs.oracle.com/javase/8/docs/api/java/io/Closeable.html#close() @Test public void testShouldWriteDataProperly() throws IOException { @@ -216,7 +216,7 @@ public class SeekableInMemoryByteChannelTest { } } - // https://docs.oracle.com/javase/7/docs/api/java/nio/channels/SeekableByteChannel.html#position() + // https://docs.oracle.com/javase/8/docs/api/java/nio/channels/SeekableByteChannel.html#position() @Test public void testShouldWriteDataProperlyAfterPositionSet() throws IOException { @@ -235,7 +235,7 @@ public class SeekableInMemoryByteChannelTest { } } - // https://docs.oracle.com/javase/7/docs/api/java/nio/channels/SeekableByteChannel.html#size() + // https://docs.oracle.com/javase/8/docs/api/java/nio/channels/SeekableByteChannel.html#size() /* * <q>ClosedChannelException - If this channel is closed</q> @@ -248,7 +248,7 @@ public class SeekableInMemoryByteChannelTest { } } - // https://docs.oracle.com/javase/7/docs/api/java/nio/channels/SeekableByteChannel.html#position(long) + // https://docs.oracle.com/javase/8/docs/api/java/nio/channels/SeekableByteChannel.html#position(long) /* * <q>IllegalArgumentException - If the new position is negative</q> @@ -296,7 +296,7 @@ public class SeekableInMemoryByteChannelTest { } } - // https://docs.oracle.com/javase/7/docs/api/java/nio/channels/SeekableByteChannel.html#truncate(long) + // https://docs.oracle.com/javase/8/docs/api/java/nio/channels/SeekableByteChannel.html#truncate(long) /* * <q> In either case, if the current position is greater than the given size then it is set to that size.</q>