Merge pull request #25 from thomast74/SPRNET-1520
SPRNET-1520 Instantiation of abstract Set<> failes, use HashedSet<>
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