From: <one...@us...> - 2003-04-27 07:04:33
|
Update of /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection In directory sc8-pr-cvs1:/tmp/cvs-serv23093 Modified Files: List.java Map.java Set.java Log Message: fixed signature of hashCode()s Index: List.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/List.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** List.java 25 Apr 2003 03:40:31 -0000 1.12 --- List.java 27 Apr 2003 07:04:30 -0000 1.13 *************** *** 409,413 **** } ! public int hashCode(Object other) { read(); return list.hashCode(); --- 409,413 ---- } ! public int hashCode() { read(); return list.hashCode(); Index: Map.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/Map.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Map.java 25 Apr 2003 03:40:31 -0000 1.12 --- Map.java 27 Apr 2003 07:04:30 -0000 1.13 *************** *** 375,379 **** } ! public int hashCode(Object other) { read(); return map.hashCode(); --- 375,379 ---- } ! public int hashCode() { read(); return map.hashCode(); Index: Set.java =================================================================== RCS file: /cvsroot/hibernate/Hibernate2/src/net/sf/hibernate/collection/Set.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** Set.java 25 Apr 2003 03:40:31 -0000 1.12 --- Set.java 27 Apr 2003 07:04:30 -0000 1.13 *************** *** 381,385 **** } ! public int hashCode(Object other) { read(); return set.hashCode(); --- 381,385 ---- } ! public int hashCode() { read(); return set.hashCode(); |