Skip to content

Commit bc47368

Browse files
committed
Fix broken and known-redirect links in reference documentation.
Closes #2447
1 parent b9fa290 commit bc47368

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/asciidoc/dependencies.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The version name follows `${calver}` for GA releases and service releases and th
3030
* `M1`, `M2`, and so on: Milestones
3131
* `RC1`, `RC2`, and so on: Release candidates
3232

33-
You can find a working example of using the BOMs in our https://github.com/spring-projects/spring-data-examples/tree/master/bom[Spring Data examples repository]. With that in place, you can declare the Spring Data modules you would like to use without a version in the `<dependencies />` block, as follows:
33+
You can find a working example of using the BOMs in our https://github.com/spring-projects/spring-data-examples/tree/main/bom[Spring Data examples repository]. With that in place, you can declare the Spring Data modules you would like to use without a version in the `<dependencies />` block, as follows:
3434

3535
.Declaring a dependency to a Spring Data module
3636
====

src/main/asciidoc/repositories.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
:spring-framework-docs: https://docs.spring.io/spring-framework/docs/{springVersion}/reference/html
2-
:spring-framework-javadoc: https://docs.spring.io/spring/docs/{springVersion}/javadoc-api
1+
:spring-framework-docs: {springDocsUrl}
2+
:spring-framework-javadoc: {springJavadocUrl}
33

44
ifndef::store[]
55
:store: Jpa
@@ -751,7 +751,7 @@ They provide a tooling-friendly approach and opt-in `null` checks during runtime
751751
* {spring-framework-javadoc}/org/springframework/lang/Nullable.html[`@Nullable`]: Used on a parameter or return value that can be `null`.
752752

753753
Spring annotations are meta-annotated with https://jcp.org/en/jsr/detail?id=305[JSR 305] annotations (a dormant but widely used JSR).
754-
JSR 305 meta-annotations let tooling vendors (such as https://www.jetbrains.com/help/idea/nullable-and-notnull-annotations.html[IDEA], https://help.eclipse.org/oxygen/index.jsp?topic=/org.eclipse.jdt.doc.user/tasks/task-using_external_null_annotations.htm[Eclipse], and link:https://kotlinlang.org/docs/reference/java-interop.html#null-safety-and-platform-types[Kotlin]) provide null-safety support in a generic way, without having to hard-code support for Spring annotations.
754+
JSR 305 meta-annotations let tooling vendors (such as https://www.jetbrains.com/help/idea/nullable-and-notnull-annotations.html[IDEA], https://help.eclipse.org/latest/index.jsp?topic=/org.eclipse.jdt.doc.user/tasks/task-using_external_null_annotations.htm[Eclipse], and link:https://kotlinlang.org/docs/reference/java-interop.html#null-safety-and-platform-types[Kotlin]) provide null-safety support in a generic way, without having to hard-code support for Spring annotations.
755755
To enable runtime checking of nullability constraints for query methods, you need to activate non-nullability on the package level by using Spring’s `@NonNullApi` in `package-info.java`, as shown in the following example:
756756

757757
.Declaring Non-nullability in `package-info.java`
@@ -1661,7 +1661,7 @@ If the method returns a complex, non-interface type, a Jackson `ObjectMapper` is
16611661
For Spring MVC, the necessary converters are registered automatically as soon as `@EnableSpringDataWebSupport` is active and the required dependencies are available on the classpath.
16621662
For usage with `RestTemplate`, register a `ProjectingJackson2HttpMessageConverter` (JSON) or `XmlBeamHttpMessageConverter` manually.
16631663

1664-
For more information, see the https://github.com/spring-projects/spring-data-examples/tree/master/web/projection[web projection example] in the canonical https://github.com/spring-projects/spring-data-examples[Spring Data Examples repository].
1664+
For more information, see the https://github.com/spring-projects/spring-data-examples/tree/main/web/projection[web projection example] in the canonical https://github.com/spring-projects/spring-data-examples[Spring Data Examples repository].
16651665

16661666
[[core.web.type-safe]]
16671667
==== Querydsl Web Support

0 commit comments

Comments
 (0)