"jason.greene(a)jboss.com" wrote :
|
| No worry, workarounds are not needed, you don't have to use generics (just like
you don't have to use them with java collections). It's purely syntactic sugar for
those that want the additional compiler checking.
|
| -Jason
Syntactic sugar with lots of warnings. The difference between collections and a cache is
that one instance of the former is usually used to store one kind of objects, while one
instance of the latter is (speculation) usually used to store very different objects. So,
while warnings in the case of collections are usually justified, here they are just a
nuisance that will probably do more harm than good.
Basil
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036119#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...