Skip to content

Commit 8d16b42

Browse files
committed
Formatting
1 parent 1bc93cb commit 8d16b42

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClientFactoryBean.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,8 @@ <T> T getTarget() {
495495
if (client != null) {
496496
if (!resolvedContextIds.add(contextId)) {
497497
if (LOG.isWarnEnabled()) {
498-
LOG.warn("FeignClient with contextId '" + contextId
499-
+ "' is being initialized more than once. "
500-
+ "Ensure the Client bean is Singleton scoped "
501-
+ "to avoid connection pool exhaustion.");
498+
LOG.warn("FeignClient with contextId '" + contextId + "' is being initialized more than once. "
499+
+ "Ensure the Client bean is Singleton scoped " + "to avoid connection pool exhaustion.");
502500
}
503501
}
504502
if (client instanceof FeignBlockingLoadBalancerClient) {

spring-cloud-openfeign-core/src/test/java/org/springframework/cloud/openfeign/encoding/FeignCompressionTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ void shouldAddResponseCompressionInterceptorWithoutClientBean() {
5959
new ApplicationContextRunner()
6060
.withPropertyValues("spring.cloud.openfeign.compression.response.enabled=true",
6161
"spring.cloud.openfeign.okhttp.enabled=false")
62-
.withConfiguration(AutoConfigurations.of(FeignAutoConfiguration.class,
63-
FeignAcceptGzipEncodingAutoConfiguration.class))
62+
.withConfiguration(
63+
AutoConfigurations.of(FeignAutoConfiguration.class, FeignAcceptGzipEncodingAutoConfiguration.class))
6464
.run(context -> {
6565
assertThat(context).hasSingleBean(FeignAcceptGzipEncodingInterceptor.class);
6666
});

0 commit comments

Comments
 (0)