Ah so if needed (and I cannot predict the need), a Interceptor could be
used? will make the change in the morning (I shutdown)
On 15 Dec 2013 02:23, "Antonio Bertucci" <notifications@github.com> wrote:

> In core/src/main/java/uk/co/ataulm/mijur/core/api/Imgur.java:
>
> >      }
> >
> > -    /**
> > -     * Sets length of time (milliseconds) that access tokens are valid for.
> > -     *
> > -     * @param tokenExpiry
> > -     * @return this Imgur
> > -     */
> > -    public Imgur expiresIn(long tokenExpiry) {
> > -        this.tokenExpiry = tokenExpiry;
> > -        return this;
> > +    @Override
> > +    public void intercept(RequestFacade request) {
>
> You should prefer ALWAYS composition over inheritance. In this case you
> don't really need this class to implement the interceptor thingy.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ataulm/mijur/pull/6/files#r8353783>
> .
>