File tree Expand file tree Collapse file tree
spring-cloud-openfeign-core/src
main/java/org/springframework/cloud/openfeign
test/java/org/springframework/cloud/openfeign/encoding Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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 });
You can’t perform that action at this time.
0 commit comments