You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2020/01/20 10:21:00 UTC

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

     [ https://issues.apache.org/jira/browse/OFBIZ-11322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-11322.
-----------------------------------
    Resolution: Not A Problem

visitAndTransform is not part of OFBiz code but Freemarker code

> 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
>            Priority: Minor
>
> 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)