> @@ -307,4 +314,31 @@ public boolean apply(String in) {
>      */
>     protected abstract boolean deleteAndVerifyContainerGone(String container);
>  
> +   @Override
> +   public ListenableFuture<String> copyBlob(String fromContainer, String 
> fromName, String toContainer, String toName,
> +         Optional<CopyOptions> options) {
> +      // TODO: honor options
> +      Blob blob = Futures.getUnchecked(getBlob(fromContainer, fromName));
> +      if (blob == null) {
> +         throw new KeyNotFoundException(fromContainer, fromName, "while 
> copying");

Thanks for beating me to it, @jdaggett ;-) In that case, perhaps name the 
method in which the error occurs more explicitly, e.g. "in copyObject"?

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

Reply via email to