sb.append(resourcesPath);
sb.append(StringPool.SLASH);
sb.append(fileName);</BUG>
Set<String> resourcePaths = servletContext.getResourcePaths(
<BUG>sb.toString());
if (resourcePaths == null) {</BUG>
return;
}
for (String resourcePath : resourcePaths) {
URL url = servletContext.getResource(resourcePath);

String ddmStructureKey, String dirName, String fileName)
throws Exception {
DDMStructure ddmStructure = ddmStructureLocalService.getStructure(
groupId, PortalUtil.getClassNameId(DDLRecordSet.class),
ddmStructureKey);
Set<String> resourcePaths = servletContext.getResourcePaths(
_getResourcePath(dirName) + StringPool.SLASH + fileName);
if (resourcePaths == null) {
return;
}
for (String resourcePath : resourcePaths) {
URL url = servletContext.getResource(resourcePath);
