dubbo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] mercyblitz closed pull request #103: fix issues #102
Date Wed, 11 Apr 2018 06:19:08 GMT
mercyblitz closed pull request #103: fix issues #102
URL: https://github.com/apache/incubator-dubbo-spring-boot-project/pull/103
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/dubbo-spring-boot-autoconfigure/src/main/java/com/alibaba/boot/dubbo/autoconfigure/DubboAutoConfiguration.java
b/dubbo-spring-boot-autoconfigure/src/main/java/com/alibaba/boot/dubbo/autoconfigure/DubboAutoConfiguration.java
index 89dbefb3..1add0c11 100644
--- a/dubbo-spring-boot-autoconfigure/src/main/java/com/alibaba/boot/dubbo/autoconfigure/DubboAutoConfiguration.java
+++ b/dubbo-spring-boot-autoconfigure/src/main/java/com/alibaba/boot/dubbo/autoconfigure/DubboAutoConfiguration.java
@@ -91,7 +91,7 @@
     @ConditionalOnProperty(name = BASE_PACKAGES_PROPERTY_NAME)
     @Autowired
     @Bean
-    public ServiceAnnotationBeanPostProcessor serviceAnnotationBeanPostProcessor(Environment
environment) {
+    public static ServiceAnnotationBeanPostProcessor serviceAnnotationBeanPostProcessor(Environment
environment) {
         RelaxedPropertyResolver resolver = new RelaxedPropertyResolver(environment);
         Set<String> packagesToScan = resolver.getProperty(BASE_PACKAGES_PROPERTY_NAME,
Set.class, emptySet());
         return new ServiceAnnotationBeanPostProcessor(packagesToScan);


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message