You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/07/25 07:49:00 UTC
[jira] [Closed] (VELOCITY-958) Template should be cloneable
[ https://issues.apache.org/jira/browse/VELOCITY-958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed VELOCITY-958.
-----------------------------------
> Template should be cloneable
> ----------------------------
>
> Key: VELOCITY-958
> URL: https://issues.apache.org/jira/browse/VELOCITY-958
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Affects Versions: 2.3
> Reporter: Claude Brisson
> Assignee: Claude Brisson
> Priority: Minor
> Fix For: 2.4
>
>
> Templates should be cloneable, the clone() method returning a template with a deep clone of the AST tree.
> It allows for dynamic transformations of the AST tree which don't affect the original template.
> One use case is the translation of ASTText nodes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org