Polish @Since tags

This commit is contained in:
Phillip Webb 2025-09-28 15:10:06 -07:00
parent f8f6e59d1a
commit 352925bbe8
4 changed files with 3 additions and 8 deletions

View File

@ -58,7 +58,7 @@ import org.springframework.web.client.RestClient.Builder;
* {@code getServer().reset()} or {@code getServer(restClientBuilder).reset()}. * {@code getServer().reset()} or {@code getServer(restClientBuilder).reset()}.
* *
* @author Scott Frederick * @author Scott Frederick
* @since 3.2.0 * @since 4.0.0
* @see #getServer() * @see #getServer()
* @see #getServer(RestClient.Builder) * @see #getServer(RestClient.Builder)
*/ */
@ -89,7 +89,6 @@ public class MockServerRestClientCustomizer implements RestClientCustomizer {
* Create a new {@link MockServerRestClientCustomizer} instance. * Create a new {@link MockServerRestClientCustomizer} instance.
* @param expectationManagerSupplier a supplier that provides the * @param expectationManagerSupplier a supplier that provides the
* {@link RequestExpectationManager} to use * {@link RequestExpectationManager} to use
* @since 3.0.0
*/ */
public MockServerRestClientCustomizer(Supplier<? extends RequestExpectationManager> expectationManagerSupplier) { public MockServerRestClientCustomizer(Supplier<? extends RequestExpectationManager> expectationManagerSupplier) {
Assert.notNull(expectationManagerSupplier, "'expectationManagerSupplier' must not be null"); Assert.notNull(expectationManagerSupplier, "'expectationManagerSupplier' must not be null");
@ -101,7 +100,6 @@ public class MockServerRestClientCustomizer implements RestClientCustomizer {
* buffer the input and output streams, and for example, allow multiple reads of the * buffer the input and output streams, and for example, allow multiple reads of the
* response body. * response body.
* @param bufferContent if request and response content should be buffered * @param bufferContent if request and response content should be buffered
* @since 3.1.0
*/ */
public void setBufferContent(boolean bufferContent) { public void setBufferContent(boolean bufferContent) {
this.bufferContent = bufferContent; this.bufferContent = bufferContent;

View File

@ -58,7 +58,7 @@ import org.springframework.web.client.RestTemplate;
* @author Phillip Webb * @author Phillip Webb
* @author Moritz Halbritter * @author Moritz Halbritter
* @author Chinmoy Chakraborty * @author Chinmoy Chakraborty
* @since 1.4.0 * @since 4.0.0
* @see #getServer() * @see #getServer()
* @see #getServer(RestTemplate) * @see #getServer(RestTemplate)
*/ */
@ -91,7 +91,6 @@ public class MockServerRestTemplateCustomizer implements RestTemplateCustomizer
* Create a new {@link MockServerRestTemplateCustomizer} instance. * Create a new {@link MockServerRestTemplateCustomizer} instance.
* @param expectationManagerSupplier a supplier that provides the * @param expectationManagerSupplier a supplier that provides the
* {@link RequestExpectationManager} to use * {@link RequestExpectationManager} to use
* @since 3.0.0
*/ */
public MockServerRestTemplateCustomizer(Supplier<? extends RequestExpectationManager> expectationManagerSupplier) { public MockServerRestTemplateCustomizer(Supplier<? extends RequestExpectationManager> expectationManagerSupplier) {
Assert.notNull(expectationManagerSupplier, "'expectationManagerSupplier' must not be null"); Assert.notNull(expectationManagerSupplier, "'expectationManagerSupplier' must not be null");
@ -112,7 +111,6 @@ public class MockServerRestTemplateCustomizer implements RestTemplateCustomizer
* buffer the input and output streams, and for example, allow multiple reads of the * buffer the input and output streams, and for example, allow multiple reads of the
* response body. * response body.
* @param bufferContent if request and response content should be buffered * @param bufferContent if request and response content should be buffered
* @since 3.1.0
*/ */
public void setBufferContent(boolean bufferContent) { public void setBufferContent(boolean bufferContent) {
this.bufferContent = bufferContent; this.bufferContent = bufferContent;

View File

@ -49,7 +49,7 @@ import org.springframework.web.util.UriTemplateHandler;
* </pre> * </pre>
* *
* @author Phillip Webb * @author Phillip Webb
* @since 1.4.0 * @since 4.0.0
* @see RootUriTemplateHandler * @see RootUriTemplateHandler
* @see #bindTo(RestTemplate) * @see #bindTo(RestTemplate)
* @see #forRestTemplate(RestTemplate, RequestExpectationManager) * @see #forRestTemplate(RestTemplate, RequestExpectationManager)

View File

@ -88,7 +88,6 @@ public @interface RestClientTest {
* Properties in form {@literal key=value} that should be added to the Spring * Properties in form {@literal key=value} that should be added to the Spring
* {@link Environment} before the test runs. * {@link Environment} before the test runs.
* @return the properties to add * @return the properties to add
* @since 2.1.0
*/ */
String[] properties() default {}; String[] properties() default {};