[GitHub] [sling-org-apache-sling-resourceresolver] schaefa commented on a change in pull request #15: Feature/sling 7768: String Interpolation for ETC Map

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [sling-org-apache-sling-resourceresolver] schaefa commented on a change in pull request #15: Feature/sling 7768: String Interpolation for ETC Map

GitBox
schaefa commented on a change in pull request #15: Feature/sling 7768: String Interpolation for ETC Map
URL: https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/15#discussion_r370325771
 
 

 ##########
 File path: src/test/java/org/apache/sling/resourceresolver/impl/MockedResourceResolverImplTest.java
 ##########
 @@ -428,15 +429,15 @@ private Resource buildResource(String fullpath, Iterable<Resource> children, Res
     }
 
 
-    /**
-     * extract the name from a path.
-     * @param fullpath
-     * @return
-     */
-    private String getName(String fullpath) {
-        int n = fullpath.lastIndexOf("/");
-        return fullpath.substring(n+1);
-    }
+//    /**
 
 Review comment:
   Done

----------------------------------------------------------------
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:
[hidden email]


With regards,
Apache Git Services