ofbiz-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From doo...@apache.org
Subject svn commit: r918725 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/datasource/GenericDAO.java
Date Wed, 03 Mar 2010 22:11:35 GMT
Author: doogie
Date: Wed Mar  3 22:11:35 2010
New Revision: 918725

URL: http://svn.apache.org/viewvc?rev=918725&view=rev
Log:
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);



Mime
View raw message