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


##########
src/main/java/org/apache/sling/resourceresolver/impl/mapping/AliasHandler.java:
##########
@@ -159,7 +159,11 @@ boolean usesCache() {
     }
 
     boolean doAddAlias(final Resource resource) {
-        return loadAlias(resource, this.aliasMapsMap, null, null);
+        if (cacheIsInitialized) {

Review Comment:
   I have removed the redundant flag and added a TODO for further concurrency 
checks (not limited to this change).



-- 
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: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to