Skip to content

Commit 6cf057b

Browse files
committed
Code review
1 parent 1b2a870 commit 6cf057b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/NHibernate/SqlTypes/SqlType.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ public bool Equals(SqlType rhsSqlType)
143143
if (ScaleDefined != rhsSqlType.ScaleDefined)
144144
return false;
145145

146-
if (LengthDefined && Length != rhsSqlType.Length)
146+
if (Length != rhsSqlType.Length)
147147
return false;
148148

149-
if (PrecisionDefined && Precision != rhsSqlType.Precision)
149+
if (Precision != rhsSqlType.Precision)
150150
return false;
151151

152-
if (ScaleDefined && Scale != rhsSqlType.Scale)
152+
if (Scale != rhsSqlType.Scale)
153153
return false;
154154

155155
return true;

0 commit comments

Comments
 (0)