|
From: | cvs-commit at developer dot classpath dot org |
Subject: | [Bug classpath/24618] equals method for collections |
Date: | 10 Jan 2006 07:52:41 -0000 |
------- Comment #10 from cvs-commit at developer dot classpath dot org 2006-01-10 07:52 ------- Subject: Bug 24618 CVSROOT: /cvsroot/classpath Module name: classpath Branch: Changes by: Jeroen Frijters <address@hidden> 06/01/10 07:26:04 Modified files: . : ChangeLog java/util : AbstractMap.java WeakHashMap.java Log message: 2006-01-06 Jeroen Frijters <address@hidden> PR classpath/24618 * java/util/AbstractMap.java (equals(Object,Object)): Test for identity first. * java/util/WeakHashMap.java (WeakBucket.WeakEntry.equals): Use helper method to determine equality. (WeakBucket.WeakEntry.toString): Fixed string representation of null key. (internalGet): Use helper method to determine equality. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5987&tr2=1.5988&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/java/util/AbstractMap.java.diff?tr1=1.29&tr2=1.30&r1=text&r2=text http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/java/util/WeakHashMap.java.diff?tr1=1.20&tr2=1.21&r1=text&r2=text -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24618
[Prev in Thread] | Current Thread | [Next in Thread] |