Permalink
Browse files

396632 - Correctly tells openejb to ignore resources with empty mappe…

…d name
  • Loading branch information...
1 parent ed50997 commit 8583e6148e5fdaf4e08e3aeda67f341fa06587e0 @bkapukaranov bkapukaranov committed Dec 14, 2012
@@ -410,7 +410,7 @@ private String getResourceNameFromTomcatResource(
final String name = resource.getName();
final String mappedName = (String) resource.getProperty("mappedName");
String processedResourceName = name;
- if (mappedName != null) {
+ if (mappedName != null && !mappedName.isEmpty()) {
processedResourceName = mappedName;
}
return processedResourceName;

0 comments on commit 8583e61

Please sign in to comment.