[jboss-dev-forums] [Design of JBossCache] - Re: JBCACHE-1004 and JBCACHE-1005
supi
do-not-reply at jboss.com
Tue Apr 10 16:27:07 EDT 2007
"jason.greene at 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#4036119
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036119
More information about the jboss-dev-forums
mailing list