[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Constants in interfaces
timfox
do-not-reply at jboss.com
Fri Jun 13 10:42:49 EDT 2008
I've seen at least one place (ConnectionParams) where constants are put in th e interface - in a kind of weird mixture of static and non static.
This is generally considered bad practice since constants are part of the implementation, not the interface.
I'll move them, but we should avoid this kind of thing in the future.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157980#4157980
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157980
More information about the jboss-dev-forums
mailing list