You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by an...@apache.org on 2021/06/24 12:54:02 UTC

[jackrabbit-oak] branch trunk updated: test (with minor improvement)

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

angela 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 eaaeb75  test (with minor improvement)
eaaeb75 is described below

commit eaaeb75eee56548aaddbaa1730e9d2c1fb440609
Author: angela <an...@adobe.com>
AuthorDate: Thu Jun 24 14:49:33 2021 +0200

    test (with minor improvement)
---
 .../main/java/org/apache/jackrabbit/oak/jcr/session/SessionContext.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/session/SessionContext.java b/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/session/SessionContext.java
index 86e71e5..597fea6 100644
--- a/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/session/SessionContext.java
+++ b/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/session/SessionContext.java
@@ -284,7 +284,7 @@ public class SessionContext implements NamePathMapper {
     @NotNull
     public List<ProtectedItemImporter> getProtectedItemImporters() {
         // TODO: take non-security related importers into account as well (proper configuration)
-        List<ProtectedItemImporter> importers = new ArrayList<ProtectedItemImporter>();
+        List<ProtectedItemImporter> importers = new ArrayList<>();
         for (SecurityConfiguration sc : securityProvider.getConfigurations()) {
             importers.addAll(sc.getProtectedItemImporters());
         }