You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by de...@apache.org on 2015/11/21 11:05:00 UTC

svn commit: r1715491 - /ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java

Author: deepak
Date: Sat Nov 21 10:04:59 2015
New Revision: 1715491

URL: http://svn.apache.org/viewvc?rev=1715491&view=rev
Log:
Fixed EntitySaxReader compile time warning related to Freemarker configuration.

Modified:
    ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java

Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java?rev=1715491&r1=1715490&r2=1715491&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java Sat Nov 21 10:04:59 2015
@@ -376,7 +376,7 @@ public class EntitySaxReader implements
                     Reader templateReader = new InputStreamReader(templateUrl.openStream());
 
                     StringWriter outWriter = new StringWriter();
-                    Configuration config = new Configuration();
+                    Configuration config = new Configuration(FreeMarkerWorker.version);
                     config.setObjectWrapper(FreeMarkerWorker.getDefaultOfbizWrapper());
                     config.setSetting("datetime_format", "yyyy-MM-dd HH:mm:ss.SSS");