Fixed miscellaneous errors spotted while reviewing the logs generated by the ArtifactInfo tool.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1610918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacopo Cappellato
2014-07-16 07:16:15 +00:00
parent 76ad4975fa
commit 3b4e2b7ec5
7 changed files with 13 additions and 15 deletions
@@ -121,7 +121,7 @@ public class ServiceArtifactInfo extends ArtifactInfoBase {
}
protected void populateEntitiesFromNameSet(Set<String> allEntityNameSet) throws GeneralException {
for (String entityName: allEntityNameSet) {
if (entityName.contains("${")) {
if (UtilValidate.isEmail(entityName) || entityName.contains("${")) {
continue;
}
// attempt to convert relation names to entity names