GitHub user yankee42 opened a pull request:
https://github.com/apache/incubator-freemarker/pull/12
Add generic type arguments to "params" in TemplateDirectiveModel
The API for writing own directives could be clearer with generics for the
`params`-Parameter. Since the project requires java language level 1.5 and due
to the compile-time only nature of generics I suppose that just nobody added
them yet, so here is a start.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yankee42/incubator-freemarker
TemplateDirectiveModel-generic-args
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-freemarker/pull/12.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #12
----
commit 6da7bcf0cca5120b0b146ca4857fa0760afa80a1
Author: Yannik Hampe <[email protected]>
Date: 2016-05-25T14:19:28Z
Add generic type arguments to the Map parameter "params" in
TemplateDirectiveModel
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---