You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Edward Ribeiro (JIRA)" <ji...@apache.org> on 2012/12/17 20:26:15 UTC
[jira] [Commented] (ZOOKEEPER-1362) ZooDefs.Ids ACL lists not
immutable
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13534200#comment-13534200 ]
Edward Ribeiro commented on ZOOKEEPER-1362:
-------------------------------------------
Yep, we could go for the immutable ArrayList subclass, but I think it would be nice if this issue could be pushed to 4.x so that OPEN_ACL_USAFE and related could be declared as List<ACL> instead of ArrayList<ACL>.
> ZooDefs.Ids ACL lists not immutable
> -----------------------------------
>
> Key: ZOOKEEPER-1362
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1362
> Project: ZooKeeper
> Issue Type: Improvement
> Components: java client
> Reporter: Tassos Souris
> Priority: Trivial
>
> In org.apache.zookeeper:
> 1) ZooDefs.Ids.OPEN_ACL_UNSAFE
> 2) ZooDefs.Ids.CREATOR_ALL_ACL
> 3) ZooDefs.Ids.READ_ALL_ACL
> are not immutable lists. Unlikely but the client could alter them.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira