Skip to content

Commit 45d4fd3

Browse files
ngocnhan-tran1996sdeleuze
authored andcommitted
Fix broken Javadoc links to methods
Closes gh-35899 Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent 3fd5d69 commit 45d4fd3

File tree

15 files changed

+17
-17
lines changed

15 files changed

+17
-17
lines changed

framework-docs/modules/ROOT/pages/testing/testcontext-framework/tx.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ of `PlatformTransactionManager` within the test's `ApplicationContext`, you can
362362
qualifier by using `@Transactional("myTxMgr")` or `@Transactional(transactionManager =
363363
"myTxMgr")`, or `TransactionManagementConfigurer` can be implemented by an
364364
`@Configuration` class. Consult the
365-
{spring-framework-api}/test/context/transaction/TestContextTransactionUtils.html#retrieveTransactionManager-org.springframework.test.context.TestContext-java.lang.String-[javadoc
365+
{spring-framework-api}/test/context/transaction/TestContextTransactionUtils.html#retrieveTransactionManager(org.springframework.test.context.TestContext,java.lang.String)[javadoc
366366
for `TestContextTransactionUtils.retrieveTransactionManager()`] for details on the
367367
algorithm used to look up a transaction manager in the test's `ApplicationContext`.
368368

framework-docs/modules/ROOT/pages/testing/webtestclient.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ infrastructure and controller declarations and use it to handle requests via moc
7575
and response objects, without a running server.
7676

7777
For WebFlux, use the following where the Spring `ApplicationContext` is passed to
78-
{spring-framework-api}/web/server/adapter/WebHttpHandlerBuilder.html#applicationContext-org.springframework.context.ApplicationContext-[WebHttpHandlerBuilder]
78+
{spring-framework-api}/web/server/adapter/WebHttpHandlerBuilder.html#applicationContext(org.springframework.context.ApplicationContext)[WebHttpHandlerBuilder]
7979
to create the xref:web/webflux/reactive-spring.adoc#webflux-web-handler-api[WebHandler chain] to handle
8080
requests:
8181

framework-docs/modules/ROOT/pages/web/webflux-cors.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ rejected. No CORS headers are added to the responses of simple and actual CORS r
4444
and, consequently, browsers reject them.
4545

4646
Each `HandlerMapping` can be
47-
{spring-framework-api}/web/reactive/handler/AbstractHandlerMapping.html#setCorsConfigurations-java.util.Map-[configured]
47+
{spring-framework-api}/web/reactive/handler/AbstractHandlerMapping.html#setCorsConfigurations(java.util.Map)[configured]
4848
individually with URL pattern-based `CorsConfiguration` mappings. In most cases, applications
4949
use the WebFlux Java configuration to declare such mappings, which results in a single,
5050
global map passed to all `HandlerMapping` implementations.
@@ -57,7 +57,7 @@ class- or method-level `@CrossOrigin` annotations (other handlers can implement
5757
The rules for combining global and local configuration are generally additive -- for example,
5858
all global and all local origins. For those attributes where only a single value can be
5959
accepted, such as `allowCredentials` and `maxAge`, the local overrides the global value. See
60-
{spring-framework-api}/web/cors/CorsConfiguration.html#combine-org.springframework.web.cors.CorsConfiguration-[`CorsConfiguration#combine(CorsConfiguration)`]
60+
{spring-framework-api}/web/cors/CorsConfiguration.html#combine(org.springframework.web.cors.CorsConfiguration)[`CorsConfiguration#combine(CorsConfiguration)`]
6161
for more details.
6262

6363
[TIP]

framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/arguments.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,6 @@ and others) and is equivalent to `required=false`.
114114
| Any other argument
115115
| If a method argument is not matched to any of the above, it is, by default, resolved as
116116
a `@RequestParam` if it is a simple type, as determined by
117-
{spring-framework-api}/beans/BeanUtils.html#isSimpleProperty-java.lang.Class-[BeanUtils#isSimpleProperty],
117+
{spring-framework-api}/beans/BeanUtils.html#isSimpleProperty(java.lang.Class)[BeanUtils#isSimpleProperty],
118118
or as a `@ModelAttribute`, otherwise.
119119
|===

framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/modelattrib-method-args.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ controller method xref:web/webmvc/mvc-controller/ann-validation.adoc[Validation]
205205

206206
TIP: Using `@ModelAttribute` is optional. By default, any argument that is not a simple
207207
value type as determined by
208-
{spring-framework-api}/beans/BeanUtils.html#isSimpleProperty-java.lang.Class-[BeanUtils#isSimpleProperty]
208+
{spring-framework-api}/beans/BeanUtils.html#isSimpleProperty(java.lang.Class)[BeanUtils#isSimpleProperty]
209209
_AND_ that is not resolved by any other argument resolver is treated as an implicit `@ModelAttribute`.
210210

211211
WARNING: When compiling to a native image with GraalVM, the implicit `@ModelAttribute`

framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/requestparam.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@ When a `@RequestParam` annotation is declared on a `Map<String, String>` or
7474

7575
Note that use of `@RequestParam` is optional -- for example, to set its attributes. By
7676
default, any argument that is a simple value type (as determined by
77-
{spring-framework-api}/beans/BeanUtils.html#isSimpleProperty-java.lang.Class-[BeanUtils#isSimpleProperty])
77+
{spring-framework-api}/beans/BeanUtils.html#isSimpleProperty(java.lang.Class)[BeanUtils#isSimpleProperty])
7878
and is not resolved by any other argument resolver is treated as if it were annotated
7979
with `@RequestParam`.

framework-docs/modules/ROOT/pages/web/webflux/controller/ann-methods/return-types.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ Reactor provides a dedicated operator for that, `Flux#collectList()`.
8787
| Other return values
8888
| If a return value remains unresolved in any other way, it is treated as a model
8989
attribute, unless it is a simple type as determined by
90-
{spring-framework-api}/beans/BeanUtils.html#isSimpleProperty-java.lang.Class-[BeanUtils#isSimpleProperty],
90+
{spring-framework-api}/beans/BeanUtils.html#isSimpleProperty(java.lang.Class)[BeanUtils#isSimpleProperty],
9191
in which case it remains unresolved.
9292
|===

framework-docs/modules/ROOT/pages/web/webflux/dispatcher-handler.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ was not provided (for example, model attribute was returned) or an async return
207207
view resolution scenarios. Explore the options in your IDE with code completion.
208208
* `Model`, `Map`: Extra model attributes to be added to the model for the request.
209209
* Any other: Any other return value (except for simple types, as determined by
210-
{spring-framework-api}/beans/BeanUtils.html#isSimpleProperty-java.lang.Class-[BeanUtils#isSimpleProperty])
210+
{spring-framework-api}/beans/BeanUtils.html#isSimpleProperty(java.lang.Class)[BeanUtils#isSimpleProperty])
211211
is treated as a model attribute to be added to the model. The attribute name is derived
212212
from the class name by using {spring-framework-api}/core/Conventions.html[conventions],
213213
unless a handler method `@ModelAttribute` annotation is present.

framework-docs/modules/ROOT/pages/web/webmvc-cors.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ rejected. No CORS headers are added to the responses of simple and actual CORS r
7171
and, consequently, browsers reject them.
7272

7373
Each `HandlerMapping` can be
74-
{spring-framework-api}/web/servlet/handler/AbstractHandlerMapping.html#setCorsConfigurations-java.util.Map-[configured]
74+
{spring-framework-api}/web/servlet/handler/AbstractHandlerMapping.html#setCorsConfigurations(java.util.Map)[configured]
7575
individually with URL pattern-based `CorsConfiguration` mappings. In most cases, applications
7676
use the MVC Java configuration or the XML namespace to declare such mappings, which results
7777
in a single global map being passed to all `HandlerMapping` instances.
@@ -84,7 +84,7 @@ class- or method-level `@CrossOrigin` annotations (other handlers can implement
8484
The rules for combining global and local configuration are generally additive -- for example,
8585
all global and all local origins. For those attributes where only a single value can be
8686
accepted, for example, `allowCredentials` and `maxAge`, the local overrides the global value. See
87-
{spring-framework-api}/web/cors/CorsConfiguration.html#combine-org.springframework.web.cors.CorsConfiguration-[`CorsConfiguration#combine(CorsConfiguration)`]
87+
{spring-framework-api}/web/cors/CorsConfiguration.html#combine(org.springframework.web.cors.CorsConfiguration)[`CorsConfiguration#combine(CorsConfiguration)`]
8888
for more details.
8989

9090
[TIP]

framework-docs/modules/ROOT/pages/web/webmvc/mvc-controller/ann-exceptionhandler.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ the content negotiation during the error handling phase will decide which conten
215215

216216
| Any other return value
217217
| If a return value is not matched to any of the above and is not a simple type (as determined by
218-
{spring-framework-api}/beans/BeanUtils.html#isSimpleProperty-java.lang.Class-[BeanUtils#isSimpleProperty]),
218+
{spring-framework-api}/beans/BeanUtils.html#isSimpleProperty(java.lang.Class)[BeanUtils#isSimpleProperty]),
219219
by default, it is treated as a model attribute to be added to the model. If it is a simple type,
220220
it remains unresolved.
221221
|===

0 commit comments

Comments
 (0)