Eric Rescorla <[EMAIL PROTECTED]> writes:
> "Bill Barker" <[EMAIL PROTECTED]> writes:
> > What I'm suggesting is to change o.a.c.tc4.CoyoteRequest.getAttribute to
> > something like:
> > <code>
> > public Object getAttribute(String name) {
> > return coyoteRequest.getAttribute(name);
> > }
> > </code>
> This works fine, but I'm wondering if maybe it would be better to do:
>
> public Object getAttribute(String name) {
> Object attr=attributes.get(name);
> if(attr) return(attr);
I was thinking in C here. It should say:
if(attr!=null) return(attr);
-Ekr
--
[Eric Rescorla [EMAIL PROTECTED]]
http://www.rtfm.com/
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>