Skip to content

Commit 1bdcb54

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 97052bb commit 1bdcb54

File tree

2 files changed

+67
-176
lines changed

2 files changed

+67
-176
lines changed

src/NHibernate/SqlTypes/SqlTypeFactory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public static StringClobSqlType GetStringClob(int length)
7979
return GetTypeWithLen<StringClobSqlType>(length, l => new StringClobSqlType(l));
8080
}
8181

82-
[MethodImpl(MethodImplOptions.Synchronized)]
8382
public static SqlType GetSqlType(DbType dbType, byte precision, byte scale)
8483
{
8584
return GetTypeWithPrecision(dbType, precision, scale);

0 commit comments

Comments
 (0)