Browse Source

修改变量名,actoin 改为 action

James 10 years ago
parent
commit
121e247032
1 changed files with 3 additions and 3 deletions
  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) {