From e870912fa2d4d05830ac476903eecaf6e907ca49 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sun, 3 Dec 2023 19:24:46 +0100 Subject: [PATCH] Polish Javadoc for MockRestServiceServer See gh-31741 --- .../test/web/client/MockRestServiceServer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/web/client/MockRestServiceServer.java b/spring-test/src/main/java/org/springframework/test/web/client/MockRestServiceServer.java index a220e70f6e..eb68529619 100644 --- a/spring-test/src/main/java/org/springframework/test/web/client/MockRestServiceServer.java +++ b/spring-test/src/main/java/org/springframework/test/web/client/MockRestServiceServer.java @@ -140,7 +140,7 @@ public final class MockRestServiceServer { /** * Return a builder for a {@code MockRestServiceServer} that should be used - * to reply to the given {@code RestClient.Builder}. + * to reply to the {@code RestClient} for the given {@code RestClient.Builder}. * @since 6.1 */ public static MockRestServiceServerBuilder bindTo(RestClient.Builder restClientBuilder) { @@ -158,7 +158,7 @@ public final class MockRestServiceServer { /** * Return a builder for a {@code MockRestServiceServer} that should be used - * to reply to the given {@code RestGatewaySupport}. + * to reply to the {@code RestTemplate} for the given {@code RestGatewaySupport}. * @since 4.3 */ public static MockRestServiceServerBuilder bindTo(RestGatewaySupport restGatewaySupport) { @@ -179,7 +179,7 @@ public final class MockRestServiceServer { /** * A shortcut for {@code bindTo(restGateway).build()}. * @param restGateway the REST gateway to set up for mock testing - * @return the created mock server + * @return the mock server */ public static MockRestServiceServer createServer(RestGatewaySupport restGateway) { return bindTo(restGateway).build();