"no apparent motivation to treat the <main> class as the <unrelated>
interface elsewhere in your code" :+1: I will remember this one.
On 15 Dec 2013 02:34, "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) {
>
> What I mean is that you need a RequestInterceptor to configure your
> RestAdapter, but you have no apparent motivation to treat the Imgur class
> as a RequestInterceptor elsewhere in your code. Just use an anonymous
> inner class to do the job.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ataulm/mijur/pull/6/files#r8353792>
> .
>