Author: doogie
Date: Wed Mar 3 22:11:35 2010
New Revision: 918725
URL:
http://svn.apache.org/viewvc?rev=918725&view=revLog:
Make all the protected fields private and final.
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java?rev=918725&r1=918724&r2=918725&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java Wed Mar 3 22:11:35 2010
@@ -70,10 +70,10 @@
public static final String module = GenericDAO.class.getName();
- protected static Map<String, GenericDAO> genericDAOs = FastMap.newInstance();
- protected String helperName;
- protected ModelFieldTypeReader modelFieldTypeReader = null;
- protected DatasourceInfo datasourceInfo;
+ private static final Map<String, GenericDAO> genericDAOs = FastMap.newInstance();
+ private final String helperName;
+ private final ModelFieldTypeReader modelFieldTypeReader;
+ private final DatasourceInfo datasourceInfo;
public static GenericDAO getGenericDAO(String helperName) {
GenericDAO newGenericDAO = (GenericDAO) genericDAOs.get(helperName);