SPRNET-1520 Instantiation of abstract Set<> is not possible, use HashedSet<> instead

This commit is contained in:
Thomas Trageser
2012-08-20 15:49:02 +01:00
parent 75a58b90a3
commit ea81ba7ecd

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