On 11/29/11 1:33 PM, Tristan Tarrant wrote:
> Hmm, not a bad idea ! Although this way, you couldn't do
> Message.setFlags((short)Message.OOB | Message.NO_FC), bitwise
> operations, if OOB and NO_FC are enum instances...
Why not use varargs here:
Message.setFlags(Message.OOB, Message.NO_FC, ...);
Another good one; done !
--
Bela Ban
Lead JGroups (
http://www.jgroups.org)
JBoss / Red Hat