Skip to content

Commit ceb39e2

Browse files
committed
removed http links from java sources to the extent possible
1 parent 3d515b2 commit ceb39e2

58 files changed

Lines changed: 97 additions & 106 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/org/apache/tools/ant/Diagnostics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ private static void doReportWhich(PrintStream out) {
448448
method.invoke(null, new Object[]{new String[]{}});
449449
} catch (ClassNotFoundException e) {
450450
out.println("Not available.");
451-
out.println("Download it at http://xml.apache.org/commons/");
451+
out.println("Download it at https://xml.apache.org/commons/");
452452
} catch (InvocationTargetException e) {
453453
error = e.getTargetException() == null ? e : e.getTargetException();
454454
} catch (Throwable e) {

src/main/org/apache/tools/ant/Project.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2243,7 +2243,7 @@ private void fireMessageLoggedEvent(final BuildEvent event, String message,
22432243
* Log4jListener which invokes getLogger() which in
22442244
* turn wants to write to the console).
22452245
*
2246-
* @see http://marc.theaimsgroup.com/?t=110538624200006&r=1&w=2
2246+
* @see https://marc.info/?l=ant-user&m=111105127200101&w=2
22472247
*
22482248
* We now (Ant 1.6.3 and later) simply swallow the message.
22492249
*/

src/main/org/apache/tools/ant/TaskConfigurationChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
* }
5151
* </pre>
5252
*
53-
* @see <a href="http://martinfowler.com/eaaDev/Notification.html">Notification Pattern</a>
53+
* @see <a href="https://martinfowler.com/eaaDev/Notification.html">Notification Pattern</a>
5454
*/
5555
public class TaskConfigurationChecker {
5656

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public void setIndex(boolean flag) {
255255
* jars on Java 1.4 or earlier Ant will not include META-INF
256256
* unless explicitly asked to.</p>
257257
*
258-
* @see <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4408526">
258+
* @see <a href="https://bugs.openjdk.java.net/browse/JDK-4408526">
259259
* jar -i omits service providers in index.list</a>
260260
* @since Ant 1.8.0
261261
* @param flag a <code>boolean</code> value, defaults to false
@@ -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="http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html#JAR%20Index">
576+
* <a href="https://docs.oracle.com/javase/1.5.0/docs/guide/jar/jar.html#JAR%20Index">
577577
* the JAR index specification</a> for more details.
578578
*
579579
* @param zOut the zip stream representing the jar being built.
@@ -893,7 +893,7 @@ protected void cleanUp() {
893893
// CheckStyle:LineLength OFF - Link is too long.
894894
/**
895895
* Check against packaging spec
896-
* @see "http://java.sun.com/j2se/1.3/docs/guide/versioning/spec/VersioningSpecification.html#PackageVersioning"
896+
* @see "https://docs.oracle.com/javase/tutorial/deployment/jar/packageman.html"
897897
*/
898898
// CheckStyle:LineLength ON
899899
private void checkJarSpec() {
@@ -993,7 +993,7 @@ protected final void writeIndexLikeList(List<String> dirs, List<String> files,
993993
// and the check is not case insensitive.
994994
// see sun.misc.JarIndex
995995
// see also
996-
// http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4408526
996+
// https://bugs.openjdk.java.net/browse/JDK-4408526
997997
if (!indexMetaInf && dir.startsWith("META-INF")) {
998998
continue;
999999
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ public void setResource(String resource) {
9393
* encoding. <p>
9494
*
9595
* For a list of possible values see
96-
* <a href="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">
97-
* http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html
96+
* <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">
97+
* https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html
9898
* </a>.</p>
9999
*
100100
* @param encoding The new Encoding value

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ public class LoadResource extends Task {
7676
* encoding. <p>
7777
*
7878
* For a list of possible values see
79-
* <a href="http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html">
80-
* http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html
79+
* <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html">
80+
* https://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html
8181
* </a>.</p>
8282
*
8383
* @param encoding The new Encoding value

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* Holds the data of a jar manifest.
4444
*
4545
* Manifests are processed according to the
46-
* <a href="http://java.sun.com/j2se/1.5.0/docs/guide/jar/jar.html">Jar
46+
* <a href="https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html">Jar
4747
* file specification</a>.
4848
* Specifically, a manifest element consists of
4949
* a set of attributes and sections. These sections in turn may contain

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ private void removeShutdownHook() {
137137
}
138138
// start the hook thread, a unstarted thread may not be
139139
// eligible for garbage collection
140-
// Cf.: http://developer.java.sun.com/developer/bugParade/bugs/4533087.html
140+
// Cf.: https://bugs.openjdk.java.net/browse/JDK-4533087
141141
destroyProcessThread.setShouldDestroy(false);
142142
if (!destroyProcessThread.getThreadGroup().isDestroyed()) {
143143
// start() would throw IllegalThreadStateException from

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@
7373
* <ul>
7474
* <li>sun (the standard compiler of the JDK)</li>
7575
* <li>kaffe (the standard compiler of
76-
* <a href="http://www.kaffe.org">Kaffe</a>)</li>
76+
* <a href="https://github.com/kaffe/kaffe">Kaffe</a>)</li>
7777
* <li>weblogic</li>
7878
* </ul>
7979
*
80-
* <p>The <a href="http://dione.zcu.cz/~toman40/miniRMI/">miniRMI</a>
80+
* <p>The miniRMI
8181
* project contains a compiler implementation for this task as well,
8282
* please consult miniRMI's documentation to learn how to use it.</p>
8383
*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
*
4343
* Timestamp driven signing is based on the unstable and inadequately documented
4444
* information in the Java1.5 docs
45-
* @see <a href="http://java.sun.com/j2se/1.5.0/docs/guide/security/time-of-signing-beta1.html">
45+
* @see <a href="https://docs.oracle.com/javase/1.5.0/docs/guide/security/time-of-signing-beta1.html">
4646
* beta documentation</a>
4747
* @ant.task category="java"
4848
* @since Ant 1.1

0 commit comments

Comments
 (0)