You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by GitBox <gi...@apache.org> on 2017/12/26 13:34:01 UTC

[GitHub] wujimin commented on a change in pull request #464: [JAV-583] Pojo consumer return completable future

wujimin commented on a change in pull request #464: [JAV-583] Pojo consumer return completable future
URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/464#discussion_r158705895
 
 

 ##########
 File path: providers/provider-pojo/src/main/java/io/servicecomb/provider/pojo/Invoker.java
 ##########
 @@ -86,20 +87,48 @@ protected void prepare() {
   @Override
   public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
     if (swaggerConsumer == null) {
-      prepare();
+      synchronized (this) {
+        if (swaggerConsumer == null) {
 
 Review comment:
   done

----------------------------------------------------------------
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