This is an automated email from the ASF dual-hosted git repository.
huxing pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 05d1e44 Modify errorCode (#232)
05d1e44 is described below
commit 05d1e44982f9197b8f274cd366cced8aa7ae1b40
Author: huazhongming <[email protected]>
AuthorDate: Sat Jan 5 21:45:56 2019 +0800
Modify errorCode (#232)
---
docs/zh-cn/source_code_guide/adaptive-extension.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/zh-cn/source_code_guide/adaptive-extension.md
b/docs/zh-cn/source_code_guide/adaptive-extension.md
index 6b82041..97bfe4e 100644
--- a/docs/zh-cn/source_code_guide/adaptive-extension.md
+++ b/docs/zh-cn/source_code_guide/adaptive-extension.md
@@ -26,7 +26,7 @@ public class AdaptiveWheelMaker implements WheelMaker {
// 1.从 URL 中获取 WheelMaker 名称
String wheelMakerName = url.getParameter("Wheel.maker");
- if (name == null) {
+ if (wheelMakerName == null) {
throw new IllegalArgumentException("wheelMakerName == null");
}