Skip to content

Commit ce49068

Browse files
marcwrobelsbrannen
authored andcommitted
Fix links in Javadoc and reference docs
- Fix broken links (by using a new URL, an alternative URL, or a Wayback Machine link) - Use HTTPS where possible - Remove https://issuetracker.springsource.com/browse/EBR-349: this link is dead and is also mentioned in https://jira.spring.io/browse/SPR-8093 - Clean up nohttp allowlist.lines Closes gh-28876
1 parent 62a0ab3 commit ce49068

File tree

28 files changed

+40
-63
lines changed

28 files changed

+40
-63
lines changed

gradle/docs.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ asciidoctorPdf {
153153
task docsZip(type: Zip, dependsOn: ['api', 'asciidoctor', 'asciidoctorPdf', 'dokkaHtmlMultiModule']) {
154154
group = "Distribution"
155155
description = "Builds -${archiveClassifier} archive containing api and reference " +
156-
"for deployment at https://docs.spring.io/spring-framework/docs."
156+
"for deployment at https://docs.spring.io/spring-framework/docs/."
157157

158158
archiveBaseName.set("spring-framework")
159159
archiveClassifier.set("docs")

import-into-idea.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ You'll notice these files are already intentionally in .gitignore. The same poli
3131

3232
## FAQ
3333

34-
Q. What about IntelliJ IDEA's own [Gradle support](https://confluence.jetbrains.net/display/IDEADEV/Gradle+integration)?
34+
Q. What about IntelliJ IDEA's own [Gradle support](https://www.jetbrains.com/help/idea/gradle.html)?
3535

3636
A. Keep an eye on https://youtrack.jetbrains.com/issue/IDEA-53476

spring-context-support/src/main/resources/org/springframework/mail/javamail/mime.types

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ video/x-msvideo avi
5050
################################################################################
5151
#
5252
# Additional file types adapted from
53-
# http://sites.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html
53+
# https://web.archive.org/web/20220119153325/http%3A//sites.utoronto.ca/webdocs/HTMLdocs/Book/Book-3ed/appb/mimetype.html
5454
# kindly re-licensed to Apache Software License 2.0 by Ian Graham.
5555
#
5656
################################################################################

spring-context/src/main/java/org/springframework/scripting/bsh/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Package providing integration of
3-
* <a href="http://www.beanshell.org">BeanShell</a>
3+
* <a href="https://beanshell.github.io/">BeanShell</a>
44
* (and <a href="https://code.google.com/p/beanshell2/">BeanShell2</a>)
55
* into Spring's scripting infrastructure.
66
*/

spring-context/src/main/java/org/springframework/scripting/groovy/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Package providing integration of
3-
* <a href="http://www.groovy-lang.org/">Groovy</a>
3+
* <a href="https://www.groovy-lang.org/">Groovy</a>
44
* into Spring's scripting infrastructure.
55
*/
66
@NonNullApi

spring-context/src/test/java/org/springframework/jmx/AbstractMBeanServerTests.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,7 @@
4646
* {@code jmxremote_optional.jar} into your classpath, for example in the {@code lib/ext}
4747
* folder of your JVM.
4848
*
49-
* <p>See also:
50-
* <ul>
51-
* <li><a href="https://jira.spring.io/browse/SPR-8093">SPR-8093</a></li>
52-
* <li><a href="https://issuetracker.springsource.com/browse/EBR-349">EBR-349</a></li>
53-
* </ul>
49+
* <p>See also: <a href="https://jira.spring.io/browse/SPR-8093">SPR-8093</a>
5450
*
5551
* @author Rob Harrop
5652
* @author Juergen Hoeller

spring-core/src/main/java/org/springframework/core/BridgeMethodResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ private static Method searchForMatch(Class<?> type, Method bridgeMethod) {
226226
/**
227227
* Compare the signatures of the bridge method and the method which it bridges. If
228228
* the parameter and return types are the same, it is a 'visibility' bridge method
229-
* introduced in Java 6 to fix https://bugs.java.com/view_bug.do?bug_id=6342411.
229+
* introduced in Java 6 to fix https://bugs.openjdk.org/browse/JDK-6342411.
230230
* See also https://stas-blogspot.blogspot.com/2010/03/java-bridge-methods-explained.html
231231
* @return whether signatures match as described
232232
*/

spring-expression/readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ Syntax
3131
- Need to agree on a standard date format for 'default' processing of dates. Currently it is:
3232
formatter = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss z", Locale.UK);
3333
// this is something of this format: "Wed, 4 Jul 2001 12:08:56 GMT"
34-
// https://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
34+
// https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
3535
- See LiteralTests for Date (4,5,6) - should date take an expression rather than be hardcoded in the grammar
3636
to take 2 strings only?
3737
- when doing arithmetic, eg. 8.4 / 4 and the user asks for an Integer return type - do we silently coerce or
3838
say we cannot as it won't fit into an int? (see OperatorTests.testMathOperatorDivide04)
3939
- Is $index within projection/selection useful or just cute?
40-
- All reals are represented as Doubles (so 1.25f is held internally as a double, can be converted to float when required though) - is that ok?
40+
- All reals are represented as Doubles (so 1.25f is held internally as a double, can be converted to float when required though) - is that ok?

spring-expression/src/test/java/org/springframework/expression/spel/ScenariosForSpringSecurityExpressionTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
///CLOVER:OFF
4141
/**
42-
* Spring Security scenarios from https://wiki.springsource.com/display/SECURITY/Spring+Security+Expression-based+Authorization
42+
* Spring Security scenarios from https://docs.spring.io/spring-security/reference/servlet/authorization/expression-based.html
4343
*
4444
* @author Andy Clement
4545
*/

spring-jdbc/src/main/java/org/springframework/jdbc/datasource/embedded/EmbeddedDatabaseType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*/
2626
public enum EmbeddedDatabaseType {
2727

28-
/** The <a href="http://hsqldb.org">Hypersonic</a> Embedded Java SQL Database. */
28+
/** The <a href="https://hsqldb.org">Hypersonic</a> Embedded Java SQL Database. */
2929
HSQL,
3030

3131
/** The <a href="https://h2database.com">H2</a> Embedded Java SQL Database Engine. */

0 commit comments

Comments
 (0)