timtebeek commented on code in PR #1979:
URL: https://github.com/apache/zookeeper/pull/1979#discussion_r1097587776
##########
zookeeper-server/src/main/java/org/apache/zookeeper/server/DataTree.java:
##########
@@ -781,7 +781,7 @@ public List<ACL> getACL(String path, Stat stat) throws
KeeperException.NoNodeExc
if (stat != null) {
n.copyStat(stat);
}
- return new ArrayList<ACL>(aclCache.convertLong(n.acl));
+ return new ArrayList<>(aclCache.convertLong(n.acl));
Review Comment:
I would say not in scope for the change made here; but that's not up to me
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]