This is an automated email from the ASF dual-hosted git repository.
earthchen pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.2 by this push:
new 8fe122b08a Add toString (#12872)
8fe122b08a is described below
commit 8fe122b08a620bb08c15af0d3df25c8772152f51
Author: TomlongTK <[email protected]>
AuthorDate: Fri Aug 11 10:41:38 2023 +0800
Add toString (#12872)
---
.../dubbo/metadata/report/identifier/MetadataIdentifier.java | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git
a/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/identifier/MetadataIdentifier.java
b/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/identifier/MetadataIdentifier.java
index 9ce637f2ad..1e5b8919f0 100644
---
a/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/identifier/MetadataIdentifier.java
+++
b/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/identifier/MetadataIdentifier.java
@@ -101,4 +101,14 @@ public class MetadataIdentifier extends
BaseServiceMetadataIdentifier implements
return serviceInterface != null ? URL.buildKey(serviceInterface,
getGroup(), getVersion()) : null;
}
+ @Override
+ public String toString() {
+ return "MetadataIdentifier{" +
+ "application='" + application + '\'' +
+ ", serviceInterface='" + serviceInterface + '\'' +
+ ", version='" + version + '\'' +
+ ", group='" + group + '\'' +
+ ", side='" + side + '\'' +
+ '}';
+ }
}