svn commit: r882243 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelFieldTypeReader.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r882243 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelFieldTypeReader.java

adrianc
Author: adrianc
Date: Thu Nov 19 18:48:30 2009
New Revision: 882243

URL: http://svn.apache.org/viewvc?rev=882243&view=rev
Log:
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;