We should be restrictive on the type so if the setter is more specific use that. If its
parameterized you have to assume somewhere SimpleBean bean = beans.get(0) is being used,
and allowing a list for which this would not work would cause a CCE.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072136#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...