You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Daniel Dekany (JIRA)" <ji...@apache.org> on 2017/08/20 21:27:00 UTC
[jira] [Closed] (FREEMARKER-65) FM3 Utilities for argument
validation in TemplateCallableModel-s
[ https://issues.apache.org/jira/browse/FREEMARKER-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dekany closed FREEMARKER-65.
-----------------------------------
Resolution: Fixed
Added org.apache.freemarker.core.util.CallableUtils for this purpose.
> FM3 Utilities for argument validation in TemplateCallableModel-s
> ----------------------------------------------------------------
>
> Key: FREEMARKER-65
> URL: https://issues.apache.org/jira/browse/FREEMARKER-65
> Project: Apache Freemarker
> Issue Type: Bug
> Components: engine
> Affects Versions: 3.0.0
> Reporter: Daniel Dekany
>
> There should be some utility to validate the parameter lists of {{TemplateCallableModel}}-s in Java (required parameters, type checks), in case someone wants to implement directives or function in Java.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)