SPRNET-1520 Instantiation of abstract Set<> is not possible, use HashedSet<> instead
This commit is contained in:
@@ -99,7 +99,7 @@ namespace Spring.Core.TypeConversion
|
||||
if (newValue is ICollection)
|
||||
{
|
||||
ICollection elements = (ICollection)newValue;
|
||||
return ToTypedCollectionWithTypeConversion(typeof(Spring.Collections.Generic.Set<>), componentType, elements, propertyName);
|
||||
return ToTypedCollectionWithTypeConversion(typeof(Spring.Collections.Generic.HashedSet<>), componentType, elements, propertyName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user