Polish Javadoc for MockRestServiceServer

See gh-31741
This commit is contained in:
Sam Brannen 2023-12-03 19:24:46 +01:00
parent 99f50ebeb4
commit e870912fa2
1 changed files with 3 additions and 3 deletions

View File

@ -140,7 +140,7 @@ public final class MockRestServiceServer {
/** /**
* Return a builder for a {@code MockRestServiceServer} that should be used * 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 * @since 6.1
*/ */
public static MockRestServiceServerBuilder bindTo(RestClient.Builder restClientBuilder) { 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 * 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 * @since 4.3
*/ */
public static MockRestServiceServerBuilder bindTo(RestGatewaySupport restGatewaySupport) { public static MockRestServiceServerBuilder bindTo(RestGatewaySupport restGatewaySupport) {
@ -179,7 +179,7 @@ public final class MockRestServiceServer {
/** /**
* A shortcut for {@code bindTo(restGateway).build()}. * A shortcut for {@code bindTo(restGateway).build()}.
* @param restGateway the REST gateway to set up for mock testing * @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) { public static MockRestServiceServer createServer(RestGatewaySupport restGateway) {
return bindTo(restGateway).build(); return bindTo(restGateway).build();