Browse Source

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
master
Jacobus Martinus Kruithof 20 years ago
parent
commit
0ba9db2412
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/main/org/apache/tools/ant/UnknownElement.java

+ 4
- 4
src/main/org/apache/tools/ant/UnknownElement.java View File

@@ -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
* <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());
}



Loading…
Cancel
Save