[infinispan-dev] Fwd: [jgroups-dev] Incompatible change in 3.1.0

Bela Ban bban at redhat.com
Tue Nov 29 08:09:41 EST 2011



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


More information about the infinispan-dev mailing list