You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2012/07/21 10:39:12 UTC

svn commit: r1364045 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelReader.java

Author: jacopoc
Date: Sat Jul 21 08:39:11 2012
New Revision: 1364045

URL: http://svn.apache.org/viewvc?rev=1364045&view=rev
Log:
Made constructor private according to the design of this class (instances are created using the static getModelReader that also takes care of managing the cache).


Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelReader.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelReader.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelReader.java?rev=1364045&r1=1364044&r2=1364045&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelReader.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/model/ModelReader.java Sat Jul 21 08:39:11 2012
@@ -98,7 +98,7 @@ public class ModelReader implements Seri
         return reader;
     }
 
-    public ModelReader(String modelName) throws GenericEntityException {
+    private ModelReader(String modelName) throws GenericEntityException {
         this.modelName = modelName;
         entityResourceHandlers = FastList.newInstance();
         resourceHandlerEntities = FastMap.newInstance();