svn commit: r918726 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/config/JNDIConfigUtil.java

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

svn commit: r918726 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/config/JNDIConfigUtil.java

doogie-3
Author: doogie
Date: Wed Mar  3 22:12:03 2010
New Revision: 918726

URL: http://svn.apache.org/viewvc?rev=918726&view=rev
Log:
Make all the internal variables private and/or final.

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=918726&r1=918725&r2=918726&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 Wed Mar  3 22:12:03 2010
@@ -35,9 +35,9 @@
 
     public static final String module = JNDIConfigUtil.class.getName();
     public static final String JNDI_CONFIG_XML_FILENAME = "jndiservers.xml";
-    protected static Map<String, JndiServerInfo> jndiServerInfos = FastMap.newInstance();
+    private static final Map<String, JndiServerInfo> jndiServerInfos = FastMap.newInstance();
 
-    protected static Element getXmlRootElement() throws GenericConfigException {
+    private static Element getXmlRootElement() throws GenericConfigException {
         try {
             return ResourceLoader.getXmlRootElement(JNDIConfigUtil.JNDI_CONFIG_XML_FILENAME);
         } catch (GenericConfigException e) {
@@ -45,7 +45,7 @@
         }
     }
 
-    protected static Document getXmlDocument() throws GenericConfigException {
+    private static Document getXmlDocument() throws GenericConfigException {
         try {
             return ResourceLoader.getXmlDocument(JNDIConfigUtil.JNDI_CONFIG_XML_FILENAME);
         } catch (GenericConfigException e) {