This is an automated email from the ASF dual-hosted git repository.

daim pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 9200c7ef39 OAK-11522 : removed usage of Guava's Iterables.filter 
(remaining one) (#2152)
9200c7ef39 is described below

commit 9200c7ef39a1e4094974bfb16d77130a806ac0c9
Author: Rishabh Kumar <[email protected]>
AuthorDate: Fri Mar 7 20:45:07 2025 +0530

    OAK-11522 : removed usage of Guava's Iterables.filter (remaining one) 
(#2152)
    
    Co-authored-by: Rishabh Kumar <[email protected]>
---
 .../oak/exercise/security/privilege/L3_BuiltInPrivilegesTest.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/oak-exercise/src/test/java/org/apache/jackrabbit/oak/exercise/security/privilege/L3_BuiltInPrivilegesTest.java
 
b/oak-exercise/src/test/java/org/apache/jackrabbit/oak/exercise/security/privilege/L3_BuiltInPrivilegesTest.java
index 33fc37bda0..e401b8c9b9 100644
--- 
a/oak-exercise/src/test/java/org/apache/jackrabbit/oak/exercise/security/privilege/L3_BuiltInPrivilegesTest.java
+++ 
b/oak-exercise/src/test/java/org/apache/jackrabbit/oak/exercise/security/privilege/L3_BuiltInPrivilegesTest.java
@@ -32,6 +32,7 @@ import org.apache.jackrabbit.oak.AbstractSecurityTest;
 import org.apache.jackrabbit.oak.api.CommitFailedException;
 import org.apache.jackrabbit.oak.api.ContentSession;
 import org.apache.jackrabbit.oak.api.Root;
+import org.apache.jackrabbit.oak.commons.collections.IterableUtils;
 import org.apache.jackrabbit.oak.spi.security.privilege.PrivilegeConstants;
 import org.junit.Test;
 
@@ -132,7 +133,7 @@ public class L3_BuiltInPrivilegesTest extends 
AbstractSecurityTest {
                 /* EXERCISE */
         );
 
-        Iterable<Privilege> aggregated = Iterables.<Privilege>filter(
+        Iterable<Privilege> aggregated = IterableUtils.filter(
                 Arrays.asList(privilegeManager.getRegisteredPrivileges()),
                 input -> input != null && input.isAggregate());
 

Reply via email to