/[Apache-SVN]
ViewVC logotype

Revision 1044231


Jump to revision: Previous Next
Author: doogie
Date: Fri Dec 10 07:20:57 2010 UTC (13 years, 4 months ago)
Changed paths: 10
Log Message:
Deprecate the local getArg/getWrappedObject wrappers in all transforms.

Several ftl transforms had local methods, to that wrapped the same named
method in FreeMarkerWorker.  Near as I can tell, this was to reduce
local typing, by not having to always type FreeMarkerWorker.  Having
these local methods increases the permgen memory use(by increasing the
size of the bytecode).  Also, it makes it more difficult to
cross-reference; when the getArg method is seen by a developer, is it a
local method, or a static import?  Using the fully qualified variant
makes it easier to understand what is going on.

The replacement is to use the fully qualified versions in
FreeMarkerWorker.

Changed paths

Path Details
Directoryofbiz/trunk/applications/content/src/org/ofbiz/content/webapp/ftl/CheckPermissionTransform.java modified , text changed
Directoryofbiz/trunk/applications/content/src/org/ofbiz/content/webapp/ftl/EditRenderSubContentCacheTransform.java modified , text changed
Directoryofbiz/trunk/applications/content/src/org/ofbiz/content/webapp/ftl/EditRenderSubContentTransform.java modified , text changed
Directoryofbiz/trunk/applications/content/src/org/ofbiz/content/webapp/ftl/InjectNodeTrailCsvTransform.java modified , text changed
Directoryofbiz/trunk/applications/content/src/org/ofbiz/content/webapp/ftl/LimitedSubContentCacheTransform.java modified , text changed
Directoryofbiz/trunk/applications/content/src/org/ofbiz/content/webapp/ftl/LoopSubContentTransform.java modified , text changed
Directoryofbiz/trunk/applications/content/src/org/ofbiz/content/webapp/ftl/RenderSubContentTransform.java modified , text changed
Directoryofbiz/trunk/applications/content/src/org/ofbiz/content/webapp/ftl/TraverseSubContentCacheTransform.java modified , text changed
Directoryofbiz/trunk/applications/content/src/org/ofbiz/content/webapp/ftl/TraverseSubContentTransform.java modified , text changed
Directoryofbiz/trunk/applications/content/src/org/ofbiz/content/webapp/ftl/WrapSubContentCacheTransform.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26