This is an automated email from the ASF dual-hosted git repository. jerrick pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git
The following commit(s) were added to refs/heads/master by this push: new 940e355 fix name (#2189) 940e355 is described below commit 940e3553b0b94c1df23b79a2f523293251b20d6f Author: lichen <11263332+lllic...@users.noreply.github.com> AuthorDate: Mon Aug 6 14:19:57 2018 +0800 fix name (#2189) --- .../org/apache/dubbo/rpc/cluster/directory/AbstractDirectory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/directory/AbstractDirectory.java b/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/directory/AbstractDirectory.java index 085094d..52f5811 100644 --- a/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/directory/AbstractDirectory.java +++ b/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/directory/AbstractDirectory.java @@ -100,9 +100,9 @@ public abstract class AbstractDirectory<T> implements Directory<T> { // copy list routers = routers == null ? new ArrayList<Router>() : new ArrayList<Router>(routers); // append url router - String routerkey = url.getParameter(Constants.ROUTER_KEY); - if (routerkey != null && routerkey.length() > 0) { - RouterFactory routerFactory = ExtensionLoader.getExtensionLoader(RouterFactory.class).getExtension(routerkey); + String routerKey = url.getParameter(Constants.ROUTER_KEY); + if (routerKey != null && routerKey.length() > 0) { + RouterFactory routerFactory = ExtensionLoader.getExtensionLoader(RouterFactory.class).getExtension(routerKey); routers.add(routerFactory.getRouter(url)); } // append mock invoker selector