> +         this.readLen = this.metaData.getContentLength().intValue();
> +
> +         this.nextPayload = getNextPayload();
> +      }
> +
> +      @Override
> +      public boolean hasNext() {
> +         return (nextPayload != null);
> +      }
> +
> +      @Override
> +      public Payload next() {
> +         Payload payload;
> +
> +         payload = nextPayload;
> +         nextPayload = getNextPayload();

Do we need some kind of synchronization here, or will `next()` never be 
concurrently called from two separate threads?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/192/files#r7291431

Reply via email to