Commit 54c72cf3 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

parent 985c8f75
...@@ -207,7 +207,7 @@ public class JerseyAutoConfiguration implements ServletContextAware { ...@@ -207,7 +207,7 @@ public class JerseyAutoConfiguration implements ServletContextAware {
}; };
} }
@Configuration @Configuration(proxyBeanMethods = false)
@ConditionalOnClass({ JaxbAnnotationIntrospector.class, XmlElement.class }) @ConditionalOnClass({ JaxbAnnotationIntrospector.class, XmlElement.class })
static class JaxbObjectMapperCustomizer { static class JaxbObjectMapperCustomizer {
......
...@@ -109,31 +109,31 @@ class ElasticsearchDataAutoConfigurationTests { ...@@ -109,31 +109,31 @@ class ElasticsearchDataAutoConfigurationTests {
.contains("reactiveElasticsearchTemplate")); .contains("reactiveElasticsearchTemplate"));
} }
@Configuration @Configuration(proxyBeanMethods = false)
static class CustomTransportTemplate { static class CustomTransportTemplate {
@Bean @Bean
ElasticsearchTemplate elasticsearchTemplate() { public ElasticsearchTemplate elasticsearchTemplate() {
return mock(ElasticsearchTemplate.class); return mock(ElasticsearchTemplate.class);
} }
} }
@Configuration @Configuration(proxyBeanMethods = false)
static class CustomRestTemplate { static class CustomRestTemplate {
@Bean @Bean
ElasticsearchRestTemplate elasticsearchTemplate() { public ElasticsearchRestTemplate elasticsearchTemplate() {
return mock(ElasticsearchRestTemplate.class); return mock(ElasticsearchRestTemplate.class);
} }
} }
@Configuration @Configuration(proxyBeanMethods = false)
static class CustomReactiveRestTemplate { static class CustomReactiveRestTemplate {
@Bean @Bean
ReactiveElasticsearchTemplate reactiveElasticsearchTemplate() { public ReactiveElasticsearchTemplate reactiveElasticsearchTemplate() {
return mock(ReactiveElasticsearchTemplate.class); return mock(ReactiveElasticsearchTemplate.class);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment