reschke commented on code in PR #191:
URL: 
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/191#discussion_r2282312023


##########
src/main/java/org/apache/sling/resourceresolver/impl/mapping/AliasHandler.java:
##########
@@ -200,61 +202,60 @@ private void execute() {
          */
         @NotNull
         private Map<String, Map<String, Collection<String>>> loadAliases(
-                @Nullable List<String> conflictingAliases, @Nullable 
List<String> invalidAliases) {
+                @NotNull ResourceResolver resolver,
+                @Nullable List<String> conflictingAliases,
+                @Nullable List<String> invalidAliases,
+                @NotNull StringBuilder diagnostics) {
 
             Map<String, Map<String, Collection<String>>> map = new 
ConcurrentHashMap<>();
 
-            try (ResourceResolver resolver =
-                    
factory.getServiceResourceResolver(factory.getServiceUserAuthenticationInfo(SERVICE_USER)))
 {

Review Comment:
   the one opened from the parent (execute())



-- 
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]

Reply via email to