[
https://issues.apache.org/jira/browse/VELOCITY-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495762
]
Adam Heath commented on VELOCITY-549:
-------------------------------------
If a directive implementation sees it's parameters are constant, it could
evaluate them at initialization time, and substitute a more efficient version
for evaluation at runtime.
> Allow directives to detect whether literals are constant
> --------------------------------------------------------
>
> Key: VELOCITY-549
> URL: https://issues.apache.org/jira/browse/VELOCITY-549
> Project: Velocity
> Issue Type: New Feature
> Components: Engine
> Affects Versions: 1.5
> Reporter: Adam Heath
> Attachments: feature_ASTStringLiteral-expose-interpolate.patch
>
>
> Add isConstant() method to ASTStringLiteral, which exposes interpolate, so
> that calling code can detect constant string literals.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]