rishabhdaim commented on code in PR #2212:
URL: https://github.com/apache/jackrabbit-oak/pull/2212#discussion_r2032333157
##########
oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/privilege/PrivilegeBitsProvider.java:
##########
@@ -268,15 +269,15 @@ private Iterable<String>
extractAggregatedPrivileges(@NotNull Iterable<String> p
@NotNull
private Set<String> resolveBuiltInAggregation(@NotNull String
privilegeName) {
- ImmutableSet.Builder<String> builder = ImmutableSet.builder();
+ Set<String> builder = new LinkedHashSet<>();
Review Comment:
Only called when `AGGREGATE_PRIVILEGES` already has `privilegeName`, so null
value not possible here as well.
--
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]