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


##########
src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java:
##########
@@ -1154,7 +1152,7 @@ private Map<String, Map<String, Collection<String>>> 
loadAliases(final ResourceR
 
         log.debug("start alias query: {}", queryString);
         long queryStart = System.nanoTime();
-        final Iterator<Resource> i = resolver.findResources(queryString, 
"sql");
+        final Iterator<Resource> i = resolver.findResources(queryString, 
"JCR-SQL2");

Review Comment:
   Not convinced. We currently do not use javax.jcr imports; likely because 
Sling in theory supports other backends.
   
   I personally do not buy this argument, but if we go down that road, there's 
a lot more we could / should 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to