svn commit: r586117 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelInfo.java

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

svn commit: r586117 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelInfo.java

doogie-3
Author: doogie
Date: Thu Oct 18 13:16:29 2007
New Revision: 586117

URL: http://svn.apache.org/viewvc?rev=586117&view=rev
Log:
Intern the entity descriptions too.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelInfo.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelInfo.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelInfo.java?rev=586117&r1=586116&r2=586117&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelInfo.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelInfo.java Thu Oct 18 13:16:29 2007
@@ -67,7 +67,7 @@
     public void populateFromAttributes(Element element) {
         author = element.getAttribute("author").intern();
         copyright = element.getAttribute("copyright").intern();
-        description = UtilXml.childElementValue(element, "description");
+        description = StringUtil.internString(UtilXml.childElementValue(element, "description"));
         title = element.getAttribute("title").intern();
         version = element.getAttribute("version").intern();
     }
@@ -75,7 +75,7 @@
     public void populateFromElements(Element element) {
         author = StringUtil.internString(UtilXml.childElementValue(element, "author"));
         copyright = StringUtil.internString(UtilXml.childElementValue(element, "copyright"));
-        description = UtilXml.childElementValue(element, "description");
+        description = StringUtil.internString(UtilXml.childElementValue(element, "description"));
         title = StringUtil.internString(UtilXml.childElementValue(element, "title"));
         version = StringUtil.internString(UtilXml.childElementValue(element, "version"));
     }