On Nov 19, 2007 3:06 PM, Michael Busch <[EMAIL PROTECTED]> wrote: > Yonik Seeley wrote: > > > > That's not immutable if I can change the bytes in the byte[] (and it's > > legal to do so), since it will result in the value of other payload > > objects changing. > > > > -Yonik > > > > True. I think what I mean here is that the caller that sets the Payload > doesn't have to worry about filters down the chain that might change > bytes in the byte[] array.
OK, but then my original point stands (I'm not just being pedantic :-) The filter that is setting payloads can't use the same byte[] with a different value each time... it must allocate a new byte[] so it doesn't change the old one, right? -Yonik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]