Author: jacopoc
Date: Mon Jul 21 05:56:45 2014
New Revision: 1612190
URL: http://svn.apache.org/r1612190
Log:
Fixed bug I introduced in rev. 1610918: thanks to Deepak Dixit for the bug
report and resolution.
Modified:
ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java
Modified:
ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java?rev=1612190&r1=1612189&r2=1612190&view=diff
==============================================================================
---
ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java
(original)
+++
ofbiz/trunk/framework/webtools/src/org/ofbiz/webtools/artifactinfo/ServiceArtifactInfo.java
Mon Jul 21 05:56:45 2014
@@ -122,7 +122,7 @@ public class ServiceArtifactInfo extends
}
protected void populateEntitiesFromNameSet(Set<String> allEntityNameSet)
throws GeneralException {
for (String entityName: allEntityNameSet) {
- if (UtilValidate.isEmail(entityName) || entityName.contains("${"))
{
+ if (UtilValidate.isEmpty(entityName) || entityName.contains("${"))
{
continue;
}
// attempt to convert relation names to entity names