> +      }
> +
> +      public String getRemoteBlobName() {
> +         return remoteBlobName;
> +      }
> +
> +      public File getLocalFile() {
> +         return localFile;
> +      }
> +
> +      public String getETag() {
> +         return eTag;
> +      }
> +
> +      public boolean isUploaded() {
> +         return eTag != null;

> the usual time vs. space tradeoff, I guess ;-)

Actually, if we make eTag `final` we can skip the `uploaded` field, since the 
compiler should be able to turn `eTag != null` in `isUploaded()` into a 
constant expression.

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

Reply via email to