Author: adrianc
Date: Thu Nov 19 18:48:30 2009
New Revision: 882243
URL:
http://svn.apache.org/viewvc?rev=882243&view=revLog:
Small fixup for last commit - intern() the field type name.
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelFieldTypeReader.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelFieldTypeReader.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelFieldTypeReader.java?rev=882243&r1=882242&r2=882243&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelFieldTypeReader.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelFieldTypeReader.java Thu Nov 19 18:48:30 2009
@@ -60,7 +60,7 @@
Debug.logError("Invalid field-type element, type attribute is missing in file " + location, module);
} else {
ModelFieldType fieldType = new ModelFieldType(curFieldType);
- fieldTypeMap.put(fieldTypeName, fieldType);
+ fieldTypeMap.put(fieldTypeName.intern(), fieldType);
}
}
return fieldTypeMap;