diff --git a/src/main/org/apache/tools/ant/Location.java b/src/main/org/apache/tools/ant/Location.java
index 3a9d8114c..c68286f26 100644
--- a/src/main/org/apache/tools/ant/Location.java
+++ b/src/main/org/apache/tools/ant/Location.java
@@ -97,7 +97,7 @@ public class Location implements Serializable {
* Creates a location from the SAX locator using the system ID as
* the filename.
*
- * @param locator Must not be null
.
+ * @param loc Must not be null
.
*
* @since Ant 1.6
*/