[prev in list] [next in list] [prev in thread] [next in thread]
List: velocity-dev
Subject: [jira] [Created] (VELOCITY-892) Method arguments conversions should be based on Type instead of Clas
From: "Thomas Mortagne (JIRA)" <jira () apache ! org>
Date: 2018-05-30 16:03:00
Message-ID: JIRA.13162934.1527696172000.66101.1527696180054 () Atlassian ! JIRA
[Download RAW message or body]
Thomas Mortagne created VELOCITY-892:
----------------------------------------
Summary: Method arguments conversions should be based on Type instead of \
Class Key: VELOCITY-892
URL: https://issues.apache.org/jira/browse/VELOCITY-892
Project: Velocity
Issue Type: Improvement
Components: Engine
Affects Versions: 2.0
Reporter: Thomas Mortagne
Fix For: 2.0
I was happy to see that method arguments conversion has been added to 2.0 so that I \
can remove the uberspector we have on XWiki side but unfortunately ConversionHandler \
is limited to classes which is way too restrictive for us (for example if the \
parameter type is List<String> it won't do the same thing than if the type is \
List<Integer>).
Our uberspector can be found on \
https://github.com/xwiki/xwiki-commons/blob/master/xwiki-commons-core/xwiki-commons-ve \
locity/src/main/java/org/xwiki/velocity/introspection/MethodArgumentsUberspector.java \
to see what we do exactly.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic