Repository: camel
Updated Branches:
  refs/heads/master 68457865f -> 8d771bc21


Fixed WARN from spring-boot: @Bean method 
HttpComponentSSLAutoConfiguration.cacheAutoConfigurationValidatorPostProcessor 
is non-static and returns an object assignable to Spring's 
BeanFactoryPostProcessor interface.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/8d771bc2
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8d771bc2
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8d771bc2

Branch: refs/heads/master
Commit: 8d771bc2133aafb5c148ca53f688f5f35fddf079
Parents: 6845786
Author: Claus Ibsen <davscl...@apache.org>
Authored: Tue Sep 26 10:43:37 2017 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Tue Sep 26 10:50:17 2017 +0200

----------------------------------------------------------------------
 .../http/springboot/HttpComponentSSLAutoConfiguration.java     | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/8d771bc2/platforms/spring-boot/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentSSLAutoConfiguration.java
----------------------------------------------------------------------
diff --git 
a/platforms/spring-boot/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentSSLAutoConfiguration.java
 
b/platforms/spring-boot/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentSSLAutoConfiguration.java
index 2aec22e..65562ae 100644
--- 
a/platforms/spring-boot/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentSSLAutoConfiguration.java
+++ 
b/platforms/spring-boot/components-starter/camel-http-starter/src/main/java/org/apache/camel/component/http/springboot/HttpComponentSSLAutoConfiguration.java
@@ -44,10 +44,14 @@ public class HttpComponentSSLAutoConfiguration {
     private static final Logger LOG = 
LoggerFactory.getLogger(HttpComponentSSLAutoConfiguration.class);
 
     @Bean
-    public HttpSSLPostProcessor 
cacheAutoConfigurationValidatorPostProcessor(CamelContext context, 
HttpComponentConfiguration config) {
+    public static HttpSSLPostProcessor 
cacheAutoConfigurationValidatorPostProcessor(CamelContext context, 
HttpComponentConfiguration config) {
         return new HttpSSLPostProcessor(context, config);
     }
 
+    private void dummy() {
+        // checkstyle issue
+    }
+
     static class HttpSSLPostProcessor implements BeanFactoryPostProcessor {
 
         private CamelContext context;

Reply via email to