Improved: Remove unnecessary field types (OFBIZ-9351)
Applied patch from jira issue, also removed -ne field refereces from code. Thanks Aditya Sharma for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1804031 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+1
-1
@@ -270,7 +270,7 @@ public class ModelEntityChecker {
|
||||
// &&
|
||||
// !rfield.getType().startsWith(field.getType()))
|
||||
// {
|
||||
if (!field.getType().equals(rfield.getType()) && !field.getType().equals(rfield.getType() + "-ne") && !rfield.getType().equals(field.getType() + "-ne")) {
|
||||
if (!field.getType().equals(rfield.getType())) {
|
||||
warningList.add("[RelationFieldTypesDifferent] The field type ("+ field.getType()
|
||||
+ ") of " + field.getName() + " of entity " + entity.getEntityName()
|
||||
+ " is not the same as field type (" + rfield.getType() + ") of "
|
||||
|
||||
Reference in New Issue
Block a user