Why is making this a trait "doing it properly"? From a modelling perspective, class feels correct - cookies are not going to be mixed into other things...

Sent from my iPhone

On 29/06/2013, at 4:16 AM, James Roper <notifications@github.com> wrote:

> In framework/src/play/src/main/scala/play/api/libs/ws/WS.scala:
> 
> > @@ -481,6 +482,58 @@ object WS {
> >  }
> >  
> >  /**
> > + * A WS Cookie.
> > + */
> > +class Cookie(val ahcCookie: AHCCookie) {
> In fact, to do this properly, Cookie will have to be a trait, and the impl private.
> 
> —
> Reply to this email directly or view it on GitHub.