svn commit: r1068508 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/config/EntityConfigUtil.java

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

svn commit: r1068508 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/config/EntityConfigUtil.java

mrisaliti
Author: mrisaliti
Date: Tue Feb  8 18:31:48 2011
New Revision: 1068508

URL: http://svn.apache.org/viewvc?rev=1068508&view=rev
Log:
Remove an unused private method of EntityConfigUtil instead of suppress it as unused (OFBIZ-4102)

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/config/EntityConfigUtil.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/config/EntityConfigUtil.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/config/EntityConfigUtil.java?rev=1068508&r1=1068507&r2=1068508&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/config/EntityConfigUtil.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/config/EntityConfigUtil.java Tue Feb  8 18:31:48 2011
@@ -28,7 +28,6 @@ import org.ofbiz.base.util.Debug;
 import org.ofbiz.base.util.UtilXml;
 import org.ofbiz.entity.GenericEntityConfException;
 import org.ofbiz.entity.GenericEntityException;
-import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 
 /**
@@ -67,15 +66,6 @@ public class EntityConfigUtil {
         }
     }
 
-    @SuppressWarnings("unused")
-    private static Document getXmlDocument() throws GenericEntityConfException {
-        try {
-            return ResourceLoader.getXmlDocument(ENTITY_ENGINE_XML_FILENAME);
-        } catch (GenericConfigException e) {
-            throw new GenericEntityConfException("Could not get entity engine XML document", e);
-        }
-    }
-
     static {
         try {
             initialize(getXmlRootElement());