Author: mrisaliti
Date: Tue Feb 8 18:25:52 2011
New Revision: 1068505
URL:
http://svn.apache.org/viewvc?rev=1068505&view=revLog:
Remove an unused private method of JNDIConfigUtil instead of suppress it as unused (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/config/JNDIConfigUtil.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/config/JNDIConfigUtil.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/config/JNDIConfigUtil.java?rev=1068505&r1=1068504&r2=1068505&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/config/JNDIConfigUtil.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/config/JNDIConfigUtil.java Tue Feb 8 18:25:52 2011
@@ -22,7 +22,6 @@ import javolution.util.FastMap;
import org.ofbiz.base.util.Debug;
import org.ofbiz.base.util.UtilXml;
-import org.w3c.dom.Document;
import org.w3c.dom.Element;
/**
@@ -43,15 +42,6 @@ public class JNDIConfigUtil {
}
}
- @SuppressWarnings("unused")
- private static Document getXmlDocument() throws GenericConfigException {
- try {
- return ResourceLoader.getXmlDocument(JNDIConfigUtil.JNDI_CONFIG_XML_FILENAME);
- } catch (GenericConfigException e) {
- throw new GenericConfigException("Could not get JNDI XML document", e);
- }
- }
-
static {
try {
initialize(getXmlRootElement());