You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ky...@apache.org on 2021/08/24 03:12:46 UTC
[dubbo] branch 3.0-multi-instances updated: improve create
extension loader logic
This is an automated email from the ASF dual-hosted git repository.
kylixs pushed a commit to branch 3.0-multi-instances
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.0-multi-instances by this push:
new d600c7c improve create extension loader logic
d600c7c is described below
commit d600c7cc6415b000026e4aa6c8fcdbc5a347eef7
Author: gongdewei <ky...@qq.com>
AuthorDate: Tue Aug 24 11:12:17 2021 +0800
improve create extension loader logic
---
.../java/org/apache/dubbo/common/extension/ExtensionDirector.java | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionDirector.java b/dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionDirector.java
index 76e9d99..0e7768e 100644
--- a/dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionDirector.java
+++ b/dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionDirector.java
@@ -109,10 +109,7 @@ public class ExtensionDirector {
// if scope is matched, just create it
loader = createExtensionLoader0(type);
} else {
- // if scope is not matched, redirect to parent director
- if (this.parent != null) {
- loader = this.parent.createExtensionLoader(type);
- }
+ // if scope is not matched, ignore it
}
return loader;
}