formatting

This commit is contained in:
spencergibb
2022-01-26 16:44:43 -05:00
parent 0b136e3783
commit 173f4c4caa
7 changed files with 14 additions and 13 deletions

View File

@@ -47,6 +47,9 @@ public interface HttpServerStubConfigurer<T> {
*/
class NoOpHttpServerStubConfigurer implements HttpServerStubConfigurer {
/**
* Singleton instance.
*/
public static HttpServerStubConfigurer INSTANCE = new NoOpHttpServerStubConfigurer();
@Override

View File

@@ -35,8 +35,8 @@ import org.springframework.core.env.Environment;
* Wraps {@link DiscoveryClient} in a Stub Runner implementation that tries to find a
* corresponding WireMock server for a searched dependency.
*
* @since 1.0.0
* @author Marcin Grzejszczak
* @since 1.0.0
*/
@Configuration(proxyBeanMethods = false)
@EnableConfigurationProperties(StubMapperProperties.class)

View File

@@ -59,8 +59,8 @@ import org.springframework.util.StringUtils;
/**
* Provides autoconfiguraion for the Spring Cloud Load Balancer module.
*
* @since 2.2.3
* @author Marcin Grzejszczak
* @since 2.2.3
*/
@Configuration(proxyBeanMethods = false)
@ConditionalOnClass({ LoadBalancerClient.class, LoadBalancerClientFactory.class })

View File

@@ -17,14 +17,14 @@
package org.springframework.cloud.contract.verifier.config.framework;
/**
* Defines elements characteristic of a given test framework to be used during test class
* construction.
*
* @author Olga Maciaszek-Sharma
* @since 2.1.0
* @deprecated appropriate implementations of
* <code>org.springframework.cloud.contract.verifier.builder.Visitor</code> should be used
* instead.
*
* Defines elements characteristic of a given test framework to be used during test class
* construction.
* @author Olga Maciaszek-Sharma
* @since 2.1.0
*/
@Deprecated
public interface TestFrameworkDefinition {

View File

@@ -25,10 +25,10 @@ import org.springframework.context.annotation.Configuration;
* in your test case and this class is available. JSON stubs are generated and added to
* the restdocs path under "stubs".
*
* @see WireMockRestDocs for a convenient entry point for customizing and asserting the
* stub behaviour
* @author Eddú Meléndez
* @author Olga Maciaszek-Sharma
* @see WireMockRestDocs for a convenient entry point for customizing and asserting the
* stub behaviour
*/
@Configuration(proxyBeanMethods = false)
// @ConditionalOnClass(RestAssuredRestDocumentationConfigurer.class)

View File

@@ -29,10 +29,9 @@ import org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer;
* in your test case and this class is available. JSON stubs are generated and added to
* the restdocs path under "stubs".
*
* @author Dave Syer
* @see WireMockRestDocs for a convenient entry point for customizing and asserting the
* stub behaviour
* @author Dave Syer
*
*/
@Configuration(proxyBeanMethods = false)
@ConditionalOnClass(MockMvcRestDocumentationConfigurer.class)

View File

@@ -29,10 +29,9 @@ import org.springframework.restdocs.webtestclient.WebTestClientRestDocumentation
* in your test case and this class is available. JSON stubs are generated and added to
* the restdocs path under "stubs".
*
* @author Dave Syer
* @see WireMockRestDocs for a convenient entry point for customizing and asserting the
* stub behaviour
* @author Dave Syer
*
*/
@Configuration(proxyBeanMethods = false)
@ConditionalOnClass(WebTestClientRestDocumentationConfigurer.class)