mirror of
https://github.com/apache/struts.git
synced 2026-08-31 19:35:40 +00:00
Merge pull request #253 from thinkshihang/master
Fix typo in a local vairalbe naming
This commit is contained in:
+2
-2
@@ -150,8 +150,8 @@ public class PrefixMethodInvocationUtil {
|
||||
public static Method getPrefixedMethod(String[] prefixes, String methodName, Object action) {
|
||||
assert(prefixes != null);
|
||||
String capitalizedMethodName = capitalizeMethodName(methodName);
|
||||
for (String prefixe : prefixes) {
|
||||
String prefixedMethodName = prefixe + capitalizedMethodName;
|
||||
for (String prefix : prefixes) {
|
||||
String prefixedMethodName = prefix + capitalizedMethodName;
|
||||
try {
|
||||
return action.getClass().getMethod(prefixedMethodName, EMPTY_CLASS_ARRAY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user