From 0ba9db2412c5caa33ddc91c7bcb5d4abbb325af6 Mon Sep 17 00:00:00 2001 From: Jacobus Martinus Kruithof Date: Thu, 3 Mar 2005 14:02:32 +0000 Subject: [PATCH] Renamed parameter to avoid hidden member variable git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277774 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/UnknownElement.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/org/apache/tools/ant/UnknownElement.java b/src/main/org/apache/tools/ant/UnknownElement.java index ceb42e8ca..9a0165376 100644 --- a/src/main/org/apache/tools/ant/UnknownElement.java +++ b/src/main/org/apache/tools/ant/UnknownElement.java @@ -456,15 +456,15 @@ public class UnknownElement extends Task { * @param what The kind of thing being created. For example, when * a task name could not be found, this would be * "task". Should not be null. - * @param elementName The name of the element which could not be found. - * Should not be null. + * @param name The name of the element which could not be found. + * Should not be null. * * @return a detailed description of what might have caused the problem. */ protected BuildException getNotFoundException(String what, - String elementName) { + String name) { ComponentHelper helper = ComponentHelper.getComponentHelper(getProject()); - String msg = helper.diagnoseCreationFailure(elementName, what); + String msg = helper.diagnoseCreationFailure(name, what); return new BuildException(msg, getLocation()); }