Skip to content

Commit 9037e93

Browse files
authored
Merge pull request #95 from twogee/java-8-docs
Refer to Java 8 documentation for consistency
2 parents dbf4b6f + 1595855 commit 9037e93

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

src/main/org/apache/tools/ant/taskdefs/Jar.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ protected void finalizeZipOutputStream(ZipOutputStream zOut)
573573
/**
574574
* Create the index list to speed up classloading.
575575
* This is a JDK 1.3+ specific feature and is enabled by default. See
576-
* <a href="https://docs.oracle.com/javase/1.5.0/docs/guide/jar/jar.html#JAR%20Index">
576+
* <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html#JAR_Index">
577577
* the JAR index specification</a> for more details.
578578
*
579579
* @param zOut the zip stream representing the jar being built.

src/main/org/apache/tools/ant/taskdefs/SignJar.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@
4040
* exists then its modification date is used as a cue as to whether to resign
4141
* any JAR file.
4242
*
43-
* Timestamp driven signing is based on the unstable and inadequately documented
44-
* information in the Java1.5 docs
45-
* @see <a href="https://docs.oracle.com/javase/1.5.0/docs/guide/security/time-of-signing-beta1.html">
46-
* beta documentation</a>
43+
* Timestamp signature support is based on Java 8
44+
* @see <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/security/time-of-signing.html">
45+
* documentation</a>
4746
* @ant.task category="java"
4847
* @since Ant 1.1
4948
*/

src/main/org/apache/tools/ant/types/PatternSet.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ public class PatternFileNameEntry extends NameEntry {
194194
*
195195
* <p>
196196
* For a list of possible values see
197-
* <a href="https://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html">
198-
* https://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html</a>.
197+
* <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">
198+
* https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html</a>.
199199
* </p>
200200
*
201201
* @param encoding String

src/main/org/apache/tools/zip/ZipFile.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ private static final class OffsetEntry {
103103
* The encoding to use for filenames and the file comment.
104104
*
105105
* <p>For a list of possible values see <a
106-
* href="https://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html">https://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html</a>.
106+
* href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">
107+
* https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html</a>.
107108
* Defaults to the platform's default character encoding.</p>
108109
*/
109110
private final String encoding;

src/main/org/apache/tools/zip/ZipOutputStream.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ public class ZipOutputStream extends FilterOutputStream {
253253
* The encoding to use for filenames and the file comment.
254254
*
255255
* <p>For a list of possible values see <a
256-
* href="https://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html">https://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html</a>.
256+
* href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">
257+
* https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html</a>.
257258
* Defaults to the platform's default character encoding.</p>
258259
*
259260
* @since 1.3
@@ -379,7 +380,8 @@ public boolean isSeekable() {
379380
* The encoding to use for filenames and the file comment.
380381
*
381382
* <p>For a list of possible values see <a
382-
* href="https://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html">https://docs.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html</a>.
383+
* href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">
384+
* https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html</a>.
383385
* Defaults to the platform's default character encoding.</p>
384386
* @param encoding the encoding value
385387
* @since 1.3

0 commit comments

Comments
 (0)