Den 11.07.2011 14:55, skrev Greg Brown:
If you parameterize the class, I don't think that causes any problems when you 
declare an instance without a type argument, does it?
Yes, you get a raw type warning.
OK, but then you could declare it with <Object> or <YourType> and the warning would go away. The warning would be absolutely justified, and your data is of a certain type, so this seems like the perfect place to use a generic type argument, doesn't it? :)

-- Edvin

Reply via email to