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

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

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

jacopoc
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();