From b1e38db1e2e8434505d88782fa970375ee506b38 Mon Sep 17 00:00:00 2001 From: Michael Stummvoll Date: Mon, 13 Jan 2020 21:56:47 +0100 Subject: [PATCH] Update Javadoc for FeignClient.configuration() (#227) Referring to @Configuration is a bit confusing. The referred class does not need the annotation, and actually using it could cause issues due the class additionally getting picked up by the component scan. --- .../java/org/springframework/cloud/openfeign/FeignClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClient.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClient.java index 14238405..7c6b0800 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClient.java +++ b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/FeignClient.java @@ -85,7 +85,7 @@ public @interface FeignClient { boolean decode404() default false; /** - * A custom @Configuration for the feign client. Can contain override + * A custom configuration class for the feign client. Can contain override * @Bean definition for the pieces that make up the client, for instance * {@link feign.codec.Decoder}, {@link feign.codec.Encoder}, {@link feign.Contract}. *