Skip to content

Commit 78ee78d

Browse files
committed
Prepare 3.3.4.GA. Slight formatting in PropertyPath.cs.
1 parent aa37caf commit 78ee78d

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

build-common/common.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
effectively SP0).
6767
-->
6868

69-
<property name="project.version" value="3.3.3.SP1" overwrite="false" />
69+
<property name="project.version" value="3.3.4.GA" overwrite="false" />
7070

7171
<!-- This version number should be changed if, but only if, there are incompatible
7272
changes compared to the previous version. -->

releasenotes.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Build 3.3.4.GA
2+
=============================
3+
4+
** Bug
5+
* [NH-3638] - Mapping-by-code is occasionally picking the wrong column name
6+
17
Build 3.3.3.SP1
28
=============================
39

src/NHibernate/Mapping/ByCode/PropertyPath.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
namespace NHibernate.Mapping.ByCode
55
{
6+
/// <summary>
7+
/// Immutable value class. By-value equality.
8+
/// </summary>
69
public class PropertyPath
710
{
811
private readonly int hashCode;
@@ -63,7 +66,9 @@ public bool Equals(PropertyPath other)
6366
{
6467
return true;
6568
}
66-
return (ReferenceEquals(previousPath, null) && ReferenceEquals(other.previousPath, null) || !ReferenceEquals(previousPath, null) && previousPath.Equals(other.previousPath)) && localMember.Equals(other.localMember);
69+
return (ReferenceEquals(previousPath, null) && ReferenceEquals(other.previousPath, null) ||
70+
!ReferenceEquals(previousPath, null) && previousPath.Equals(other.previousPath)) &&
71+
localMember.Equals(other.localMember);
6772
}
6873

6974
public override int GetHashCode()

0 commit comments

Comments
 (0)