Applied patch from jira issue - OFBIZ-7983 - Enforce noninstantiability to JNDIConfigUtil class. Thanks Rishi Solanki and Rohit Koushal for your contribution.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1757989 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -28,11 +28,12 @@ import org.w3c.dom.Element;
|
||||
* JNDIConfigUtil
|
||||
*
|
||||
*/
|
||||
public class JNDIConfigUtil {
|
||||
public final class JNDIConfigUtil {
|
||||
|
||||
public static final String module = JNDIConfigUtil.class.getName();
|
||||
public static final String JNDI_CONFIG_XML_FILENAME = "jndiservers.xml";
|
||||
private static final String JNDI_CONFIG_XML_FILENAME = "jndiservers.xml";
|
||||
private static final ConcurrentHashMap<String, JndiServerInfo> jndiServerInfos = new ConcurrentHashMap<String, JndiServerInfo>();
|
||||
private JNDIConfigUtil() {};
|
||||
|
||||
private static Element getXmlRootElement() throws GenericConfigException {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user