Merge pull request #25 from thomast74/SPRNET-1520

SPRNET-1520 Instantiation of abstract Set<> failes, use HashedSet<>
This commit is contained in:
Steve Bohlen
2012-09-13 06:51:38 -07:00

View File

@@ -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);
}
}