Browse Source

Polish @Since tags

pull/47381/head
Phillip Webb 3 months ago
parent
commit
352925bbe8
  1. 4
      module/spring-boot-restclient-test/src/main/java/org/springframework/boot/restclient/test/MockServerRestClientCustomizer.java
  2. 4
      module/spring-boot-restclient-test/src/main/java/org/springframework/boot/restclient/test/MockServerRestTemplateCustomizer.java
  3. 2
      module/spring-boot-restclient-test/src/main/java/org/springframework/boot/restclient/test/RootUriRequestExpectationManager.java
  4. 1
      module/spring-boot-restclient-test/src/main/java/org/springframework/boot/restclient/test/autoconfigure/RestClientTest.java

4
module/spring-boot-restclient-test/src/main/java/org/springframework/boot/restclient/test/MockServerRestClientCustomizer.java

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

4
module/spring-boot-restclient-test/src/main/java/org/springframework/boot/restclient/test/MockServerRestTemplateCustomizer.java

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

2
module/spring-boot-restclient-test/src/main/java/org/springframework/boot/restclient/test/RootUriRequestExpectationManager.java

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

1
module/spring-boot-restclient-test/src/main/java/org/springframework/boot/restclient/test/autoconfigure/RestClientTest.java

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

Loading…
Cancel
Save