From 5e6d45bc8ddaf931883c6ca0514313e34ba86947 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Tue, 15 Mar 2005 14:05:38 +0000 Subject: [PATCH] add since 1.6.3 to equals and hashcode git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277971 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/Location.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/org/apache/tools/ant/Location.java b/src/main/org/apache/tools/ant/Location.java index a54b39577..028572ff2 100644 --- a/src/main/org/apache/tools/ant/Location.java +++ b/src/main/org/apache/tools/ant/Location.java @@ -150,6 +150,7 @@ public class Location implements Serializable { * @param other the object to compare to. * @return true if the other object contains the same information * as this object. + * @since Ant 1.6.3 */ public boolean equals(Object other) { if (this == other) { @@ -167,6 +168,7 @@ public class Location implements Serializable { /** * Hash operation. * @return a hash code value for this location. + * @since Ant 1.6.3 */ public int hashCode() { return toString().hashCode();