peterreilly 2005/03/15 06:05:38 Modified: src/main/org/apache/tools/ant Location.java Log: add since 1.6.3 to equals and hashcode Revision Changes Path 1.24 +2 -0 ant/src/main/org/apache/tools/ant/Location.java Index: Location.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Location.java,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- Location.java 15 Mar 2005 13:18:45 -0000 1.23 +++ Location.java 15 Mar 2005 14:05:38 -0000 1.24 @@ -150,6 +150,7 @@ * @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 @@ /** * Hash operation. * @return a hash code value for this location. + * @since Ant 1.6.3 */ public int hashCode() { return toString().hashCode();
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]