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


##########
src/test/java/org/apache/sling/resourceresolver/impl/mapping/AliasMapEntriesTest.java:
##########
@@ -1176,7 +1177,8 @@ public void test_doRemoveAliasFromSibling() throws 
Exception {
     public void test_initAliasesAfterDispose() {
         AliasHandler ah = mapEntries.ah;
         mapEntries.dispose();
-        boolean enabled = ah.initializeAliases();
-        assertFalse("return value (isOptimizeAliasResolutionEnabled) should be 
false", enabled);
+        ah.initializeAliases();
+        boolean enabled = ah.usesCache();
+        assertFalse("alias handler should not have set up cache", enabled);

Review Comment:
   ack



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