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 2022/07/27 09:42:11 UTC
[dubbo] branch 3.0 updated: all param no export to meta (#10372)
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 0b21e93dc8 all param no export to meta (#10372)
0b21e93dc8 is described below
commit 0b21e93dc881952f47800f31aa9963795ff1df69
Author: Owen.Cai <89...@qq.com>
AuthorDate: Wed Jul 27 17:42:00 2022 +0800
all param no export to meta (#10372)
---
.../src/main/java/org/apache/dubbo/metadata/MetadataInfo.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java b/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java
index e2822e8965..b1d852c96f 100644
--- a/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java
+++ b/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java
@@ -643,6 +643,7 @@ public class MetadataInfo implements Serializable {
this.params = params;
}
+ @Transient
public Map<String, String> getAllParams() {
if (consumerParams != null) {
Map<String, String> allParams = new HashMap<>((int) ((params.size() + consumerParams.size()) / 0.75f + 1));