rombert commented on pull request #50:
URL: 
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/50#issuecomment-963006503


   Thanks for the PR @Gabiesfat and apologies for looking so late into this. At 
this point I am not sure what we are trying to fix. I think it would be best if 
you could demonstrate it with a unit test that fails without the change and 
passed with it.
   
   I tried to do so by adding a new test case to `ResourceMapperImplTest.java`:
   
   ```java
       @Test
       public void mapEmptyPath() {
           ExpectedMappings.nonExistingResource("")
               .singleMapping("/")
               .singleMappingWithRequest("/app/")
               .allMappings("/")
               .allMappingsWithRequest("/app/")
               .verify(resolver, req);
       }
   ```
   
   The test passes currently so I am probably misunderstanding what this PR is 
trying to fix.


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