[jboss-dev-forums] [Design of JBossCache] - Excessive type safety warnings ...

genman do-not-reply at jboss.com
Wed May 23 14:19:47 EDT 2007


Eclipse lists over 4000 warnings for JBossCache, mostly to do with type safety.

I started trying to fix some of the type safety warnings by adding type parameters to declarations of Cache, Node, etc. The problem is, is that classes such as NodeListener, NodeData, StateTransferGenerator, etc. do not have type parameters. To get everything to work right will require adding some type parameters.

But for some of those classes, it doesn't really seem appropriate to have type parameters like <K, V> tied into their implementation.

Thoughts? Or are you going to live with all those warnings ...



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048013#4048013

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048013



More information about the jboss-dev-forums mailing list