Revision: 3802
http://nhibernate.svn.sourceforge.net/nhibernate/?rev=3802&view=rev
Author: fabiomaulo
Date: 2008-09-29 20:49:37 +0000 (Mon, 29 Sep 2008)
Log Message:
-----------
Minor
Modified Paths:
--------------
trunk/nhibernate/src/NHibernate/IdentityEqualityComparer.cs
Modified: trunk/nhibernate/src/NHibernate/IdentityEqualityComparer.cs
===================================================================
--- trunk/nhibernate/src/NHibernate/IdentityEqualityComparer.cs 2008-09-29 20:26:50 UTC (rev 3801)
+++ trunk/nhibernate/src/NHibernate/IdentityEqualityComparer.cs 2008-09-29 20:49:37 UTC (rev 3802)
@@ -23,7 +23,7 @@
/// true if x is the same instance as y or if both are null references; otherwise, false.
///</returns>
/// <remarks>
- /// This is Lazy collection safe since it uses <see cref="M:Object.ReferenceEquals"/>,
+ /// This is Lazy collection safe since it uses <see cref="Object.ReferenceEquals"/>,
/// unlike <c>Object.Equals()</c> which currently causes NHibernate to load up the collection.
/// This behaivior of Collections is likely to change because Java's collections override Equals() and
/// .net's collections don't. So in .net there is no need to override Equals() and
@@ -31,7 +31,7 @@
/// </remarks>
public new bool Equals(object x, object y)
{
- return object.ReferenceEquals(x, y);
+ return ReferenceEquals(x, y);
}
#endregion
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|