Skip to content

Commit c355c34

Browse files
Simplify code
Co-authored-by: Roman Artiukhin <bahusdrive@gmail.com>
1 parent 300ccee commit c355c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Cache/StandardQueryCache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ public bool[] PutMany(
222222

223223
private static string[] GetAutoDiscoveredAliases(QueryKey key)
224224
{
225-
return key.ResultTransformer?.AutoDiscoverTypes == true ? key.ResultTransformer.AutoDiscoveredAliases : null;
225+
return key.ResultTransformer?.AutoDiscoveredAliases;
226226
}
227227

228228
/// <inheritdoc />

0 commit comments

Comments
 (0)