> +               }
> +               aclFileAttributes.setAcl(aclList);
> +            } else {
> +               List<AclEntry> list = aclFileAttributes.getAcl();
> +               
> list.add(AclEntry.newBuilder().setPrincipal(everyone).setPermissions(
> +                     AclEntryPermission.READ_DATA,
> +                     AclEntryPermission.READ_ACL,
> +                     AclEntryPermission.READ_ATTRIBUTES,
> +                     AclEntryPermission.READ_NAMED_ATTRS)
> +                     .setType(AclEntryType.ALLOW)
> +                     .build());
> +               aclFileAttributes.setAcl(list);
> +            }
> +         } catch (IOException e) {
> +            e.printStackTrace();
> +            return;

Same comments about exception handling.

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

Reply via email to