Buuhuu opened a new pull request #61:
URL: https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/61


   In this change we make sure that the `MapEntries` are properly populated 
when constructing the unit under test. This caused the `testMapping()` test to 
fail in `MapEntries#replace()` for 
   
   ```
   // applied MapEntry: /content.html-/$
   resourceResolver.map("/content.html");
   ```
   
   This is because the regular expression substitution runs in an IAE with the 
substitution pattern `/$` which has a "wrong" group reference. 
   
   @cziegeler I am not sure what the expected outcome of the mapping rule 
should be `/content.html-/$` but that may be something you remember?


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