stefanseifert commented on a change in pull request #42:
URL: 
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/42#discussion_r583785384



##########
File path: 
src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java
##########
@@ -1036,8 +1037,9 @@ private String updateAliasQuery(){
         baseQuery.append(" ").append("WHERE");
 
         if(allowedLocations.isEmpty()){
+            String jcrSystemPath = StringUtils.removeEnd(JCR_SYSTEM_PREFIX, 
"/");

Review comment:
       i would like to keep it like this as the code is just better readable 
this way. this code line is executed once on startup of the bundle, not need to 
over-optimize it here.




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

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


Reply via email to