Hi Sebastian, Oleg,

> I think it is a bad idea to have to write calling code using 0 and
> Integer.MAX_VALUE as actual values. There should be named constants.

Actually, we already have an index-less method that will append.
So there is no need for Integer.MAX_VALUE. I've disabled the
magic number behavior. If you specify an index, it needs to be
in the valid range. Index 0 is always valid and represents the
start of the list.

   bhp.addRequestInterceptor(icpt1);    // add at end
   bhp.addRequestInterceptor(icpt2, 0); // add at start

cheers,
  Roland


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to