jkf 2005/03/03 06:02:32 Modified: src/main/org/apache/tools/ant UnknownElement.java Log: Renamed parameter to avoid hidden member variable Revision Changes Path 1.87 +4 -4 ant/src/main/org/apache/tools/ant/UnknownElement.java Index: UnknownElement.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/UnknownElement.java,v retrieving revision 1.86 retrieving revision 1.87 diff -u -r1.86 -r1.87 --- UnknownElement.java 1 Mar 2005 14:55:46 -0000 1.86 +++ UnknownElement.java 3 Mar 2005 14:02:32 -0000 1.87 @@ -456,15 +456,15 @@ * @param what The kind of thing being created. For example, when * a task name could not be found, this would be * <code>"task"</code>. Should not be <code>null</code>. - * @param elementName The name of the element which could not be found. - * Should not be <code>null</code>. + * @param name The name of the element which could not be found. + * Should not be <code>null</code>. * * @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()); }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]