You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/07/13 11:29:47 UTC

[dubbo] branch 3.0 updated: add Endpoint default constructor. (#8277)

This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.0 by this push:
     new 590a7e5  add Endpoint default constructor. (#8277)
590a7e5 is described below

commit 590a7e57669ac4ef1982313f413f6bf8091bcc0a
Author: sh1yu <ps...@163.com>
AuthorDate: Tue Jul 13 19:29:26 2021 +0800

    add Endpoint default constructor. (#8277)
    
    Co-authored-by: sypeng <sy...@iflytek.com>
---
 .../java/org/apache/dubbo/registry/client/DefaultServiceInstance.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/DefaultServiceInstance.java b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/DefaultServiceInstance.java
index 0328cca..b4908af 100644
--- a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/DefaultServiceInstance.java
+++ b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/DefaultServiceInstance.java
@@ -275,6 +275,9 @@ public class DefaultServiceInstance implements ServiceInstance {
         Integer port;
         String protocol;
 
+        public Endpoint() {
+        }
+
         public Endpoint(Integer port, String protocol) {
             this.port = port;
             this.protocol = protocol;