> +         listing = blobStore.list(containerName, options);
> +      } catch (ContainerNotFoundException ce) {
> +         return listing;
> +      }
> +
> +      // recurse on subdirectories
> +      if (options.isRecursive()) {
> +         for (StorageMetadata md : listing) {
> +            String fullPath = parentIsFolder(options, md) ? options.getDir()
> +                  + "/" + md.getName() : md.getName();
> +            switch (md.getType()) {
> +            case BLOB:
> +               break;
> +            case FOLDER:
> +            case RELATIVE_PATH:
> +               if (options.isRecursive() &&

Repeated test of isRecusive from above.

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

Reply via email to