[jira] [Created] (OFBIZ-11322) Replace deprecated Freemarker code

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

[jira] [Created] (OFBIZ-11322) Replace deprecated Freemarker code

Nicolas Malin (Jira)
Jacques Le Roux created OFBIZ-11322:
---------------------------------------

             Summary: Replace deprecated Freemarker code
                 Key: OFBIZ-11322
                 URL: https://issues.apache.org/jira/browse/OFBIZ-11322
             Project: OFBiz
          Issue Type: Improvement
            Reporter: Jacques Le Roux


While working on OFBIZ-11306 I stumbled upon things like (there are others)

{code:java}
void visitAndTransform(TemplateElement[] elementBuffer,
  Open Declaration   freemarker.core.TemplateElement
@Deprecated
Deprecated.  This is an internal FreeMarker API with no backward compatibility guarantees, so you shouldn't depend on it.
    Internal API - subject to change: Represent directive call, interpolation, text block, or other such non-expression node in the parsed template. Some information that can be found here can be accessed through the Environment.getCurrentDirectiveCallPlace(), which a published API, and thus promises backward compatibility.
{code}

We need to replace all these deprecated code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)