diff --git a/spring-vault-core/src/main/java/org/springframework/vault/client/RestTemplateBuilder.java b/spring-vault-core/src/main/java/org/springframework/vault/client/RestTemplateBuilder.java index 0dee40ff..e5d8f9c0 100644 --- a/spring-vault-core/src/main/java/org/springframework/vault/client/RestTemplateBuilder.java +++ b/spring-vault-core/src/main/java/org/springframework/vault/client/RestTemplateBuilder.java @@ -81,7 +81,7 @@ public class RestTemplateBuilder { } /** - * Set the {@link VaultEndpoint} that should with the {@link RestTemplate}. + * Set the {@link VaultEndpoint} that should be used with the {@link RestTemplate}. * * @param endpoint the {@link VaultEndpoint} provider. * @return {@code this} {@link RestTemplateBuilder}. @@ -91,7 +91,8 @@ public class RestTemplateBuilder { } /** - * Set the {@link VaultEndpointProvider} that should with the {@link RestTemplate}. + * Set the {@link VaultEndpointProvider} that should be used with the + * {@link RestTemplate}. * * @param provider the {@link VaultEndpoint} provider. * @return {@code this} {@link RestTemplateBuilder}. diff --git a/spring-vault-core/src/main/java/org/springframework/vault/client/WebClientBuilder.java b/spring-vault-core/src/main/java/org/springframework/vault/client/WebClientBuilder.java index 574f7680..5908226d 100644 --- a/spring-vault-core/src/main/java/org/springframework/vault/client/WebClientBuilder.java +++ b/spring-vault-core/src/main/java/org/springframework/vault/client/WebClientBuilder.java @@ -73,7 +73,7 @@ public class WebClientBuilder { } /** - * Set the {@link VaultEndpoint} that should with the {@link WebClient}. + * Set the {@link VaultEndpoint} that should be used with the {@link WebClient}. * * @param endpoint the {@link VaultEndpoint} provider. * @return {@code this} {@link WebClientBuilder}. @@ -83,7 +83,8 @@ public class WebClientBuilder { } /** - * Set the {@link VaultEndpointProvider} that should with the {@link WebClient}. + * Set the {@link VaultEndpointProvider} that should be used with the + * {@link WebClient}. * * @param provider the {@link VaultEndpoint} provider. * @return {@code this} {@link WebClientBuilder}. @@ -98,8 +99,7 @@ public class WebClientBuilder { } /** - * Set the {@link ClientHttpConnector} that should be used each with the - * {@link WebClient}. + * Set the {@link ClientHttpConnector} that should be used with the {@link WebClient}. * * @param httpConnector the HTTP connector. * @return {@code this} {@link WebClientBuilder}.