diff --git a/src/main/org/apache/tools/ant/util/ReflectUtil.java b/src/main/org/apache/tools/ant/util/ReflectUtil.java index 36f570510..0fa459af8 100644 --- a/src/main/org/apache/tools/ant/util/ReflectUtil.java +++ b/src/main/org/apache/tools/ant/util/ReflectUtil.java @@ -145,7 +145,7 @@ public class ReflectUtil { * @return * @throws BuildException */ - public static boolean resondsTo(Object o, String methodName) + public static boolean respondsTo(Object o, String methodName) throws BuildException { try { Method[] methods = o.getClass().getMethods();