You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2012/01/07 11:26:52 UTC
svn commit: r1228592 -
/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java
Author: adrianc
Date: Sat Jan 7 10:26:52 2012
New Revision: 1228592
URL: http://svn.apache.org/viewvc?rev=1228592&view=rev
Log:
FreeMarkerWorker JavaDocs - no functional change.
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java?rev=1228592&r1=1228591&r2=1228592&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/template/FreeMarkerWorker.java Sat Jan 7 10:26:52 2012
@@ -277,6 +277,14 @@ public class FreeMarkerWorker {
env.setTimeZone(timeZone);
}
+ /**
+ * Returns a <code>Configuration</code> instance initialized to OFBiz defaults. Client code should
+ * call this method instead of creating its own <code>Configuration</code> instance. The instance
+ * returned by this method includes the <code>component://</code> resolver and the OFBiz custom
+ * transformations.
+ *
+ * @return A <code>Configuration</code> instance.
+ */
public static Configuration getDefaultOfbizConfig() {
return defaultOfbizConfig;
}