浏览代码

修改变量名,actoin 改为 action

James 10 年之前
父节点
当前提交
121e247032
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/com/jfinal/core/ActionMapping.java

+ 3 - 3
src/com/jfinal/core/ActionMapping.java

@@ -103,9 +103,9 @@ final class ActionMapping {
 		}
 		
 		// support url = controllerKey + urlParas with "/" of controllerKey
-		Action actoin = mapping.get("/");
-		if (actoin != null)
-			mapping.put("", actoin);
+		Action action = mapping.get("/");
+		if (action != null)
+			mapping.put("", action);
 	}
 	
 	private static final String buildMsg(String actionKey, Class<? extends Controller> controllerClass, Method method) {