src/share/classes/java/nio/file/attribute/AclFileAttributeView.java

Print this page

        

@@ -83,11 +83,11 @@
  *         .setPrincipal(joe)
  *         .setPermissions(AclEntryPermission.READ_DATA, AclEntryPermission.READ_ATTRIBUTES)
  *         .build();
  *
  *     // read ACL, insert ACE, re-write ACL
- *     List<AclEntry&gt acl = view.getAcl();
+ *     List<AclEntry> acl = view.getAcl();
  *     acl.add(0, entry);   // insert before any DENY entries
  *     view.setAcl(acl);
  * </pre>
  *
  * <h4> Dynamic Access </h4>