They are there just to keep the line breaks, as most IDE formatters would
put all those in one. Just readability!
El 08/08/2013 07:36, "Andrew Phillips" <notifications@github.com> escribió:

> In
> abiquo/src/main/java/org/jclouds/abiquo/functions/auth/GetTokenFromApi.java:
>
> > +   protected Logger logger = Logger.NULL;
> > +
> > +   @Inject
> > +   public GetTokenFromApi(ProviderMetadata provider, HttpClient http) {
> > +      this.provider = checkNotNull(provider, "provider must not be null");
> > +      this.http = checkNotNull(http, "http must not be null");
> > +   }
> > +
> > +   @Override
> > +   public String apply(Credentials input) {
> > +      logger.info(">> Requesting an authentication token for user: %s...", input.identity);
> > +
> > +      HttpResponse response = http.invoke(HttpRequest.builder() //
> > +            .method("GET") //
> > +            .endpoint(URI.create(provider.getEndpoint())) //
> > +            .addHeader(AUTHORIZATION, basic(input.identity, input.credential)) //
>
> Just out of curiosity...what are the // bits doing here? Something left
> over from commenting out bits of code during development?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/jclouds/jclouds-labs/pull/20/files#r5651011>
> .
>