See gh-43498
This commit is contained in:
Johnny Lim
2024-12-13 23:40:38 +09:00
committed by Phillip Webb
parent e62bda9c04
commit 4d15ee5bf0
12 changed files with 52 additions and 50 deletions

View File

@@ -149,9 +149,9 @@ public class Instantiator<T> {
}
/**
* Instantiate the given set of classes, injecting constructor arguments as necessary.
* @param type the types to instantiate
* @return a list of instantiated instances
* Instantiate the given class, injecting constructor arguments as necessary.
* @param type the type to instantiate
* @return an instantiated instance
* @since 3.4.0
*/
public T instantiateType(Class<?> type) {

View File

@@ -438,7 +438,7 @@ public class RestTemplateBuilder {
/**
* Sets the {@link ClientHttpRequestFactorySettings}. This will replace any previously
* set {@link #connectTimeout(Duration) connectTimeout} ,{@link #readTimeout(Duration)
* set {@link #connectTimeout(Duration) connectTimeout}, {@link #readTimeout(Duration)
* readTimeout} and {@link #sslBundle(SslBundle) sslBundle} values.
* @param requestFactorySettings the request factory settings
* @return a new builder instance

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2023 the original author or authors.
* Copyright 2012-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ import org.springframework.util.StringUtils;
* {@link Value @Value} or obtained through the {@link Environment}.
* <p>
* If the {@link WebServerInitializedEvent} has a
* {@link WebServerApplicationContext#getServerNamespace() server namespace} , it will be
* {@link WebServerApplicationContext#getServerNamespace() server namespace}, it will be
* used to construct the property name. For example, the "management" actuator context
* will have the property name {@literal "local.management.port"}.
* <p>