Skip to content

Commit 9614124

Browse files
NH-3884 - Preliminary clean-up of TypeFactory
* Removing undue global thread sync and concurrency checks, the concurrent dictionary handles already that. * Removing useless singleton pattern, likely a remnant of Java port.
1 parent 4045925 commit 9614124

File tree

2 files changed

+74
-238
lines changed

2 files changed

+74
-238
lines changed

src/NHibernate/SqlTypes/SqlTypeFactory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ public static TimeSqlType GetTime(byte fractionalSecondsPrecision)
9999
return GetTypeWithLenOrScale(fractionalSecondsPrecision, l => new TimeSqlType(l));
100100
}
101101

102-
[MethodImpl(MethodImplOptions.Synchronized)]
103102
public static SqlType GetSqlType(DbType dbType, byte precision, byte scale)
104103
{
105104
return GetTypeWithPrecision(dbType, precision, scale);

0 commit comments

Comments
 (0)