From 569628689b1e9c4caebdd75329a93b4d7f69cbcc Mon Sep 17 00:00:00 2001 From: Rafael Renan Pacheco Date: Tue, 29 May 2018 12:09:05 -0300 Subject: [PATCH] Format "Creating Feign Clients Manually" snippet (#29) --- docs/src/main/asciidoc/spring-cloud-openfeign.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc index ad50b38c..28f26e97 100644 --- a/docs/src/main/asciidoc/spring-cloud-openfeign.adoc +++ b/docs/src/main/asciidoc/spring-cloud-openfeign.adoc @@ -224,14 +224,14 @@ class FooController { private FooClient adminClient; @Autowired - public FooController( - Decoder decoder, Encoder encoder, Client client, Contract contract) { + public FooController(Decoder decoder, Encoder encoder, Client client, Contract contract) { this.fooClient = Feign.builder().client(client) .encoder(encoder) .decoder(decoder) - .contract(contract) + .contract(contract) .requestInterceptor(new BasicAuthRequestInterceptor("user", "user")) .target(FooClient.class, "http://PROD-SVC"); + this.adminClient = Feign.builder().client(client) .encoder(encoder) .decoder(decoder)