in src/main/java/org/apache/sling/bundleresource/impl/PathMapping.java [100:110]
String getResourcePath(final String entryPath) {
if (entryRootPrefix == null) {
return entryPath;
}
if (entryPath.startsWith(entryRootPrefix)) {
return resourceRootPrefix.concat(entryPath.substring(entryRootPrefix.length()));
} else if (entryPath.equals(entryRoot)) {
return resourceRoot;
}
return null;
}