From 86318b8adf28081ecc9c23ff6ae2e30991aa0f7e Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Tue, 19 May 2020 15:24:50 +0200 Subject: [PATCH] Polishing Fix Javadoc typos --- .../springframework/vault/client/RestTemplateBuilder.java | 5 +++-- .../springframework/vault/client/WebClientBuilder.java | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) 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}.