[
http://jira.codehaus.org/browse/QDOX-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vincent Siveton updated QDOX-173:
---------------------------------
Attachment: TestQDOX173.java
With generic javadoc, docletTag.getParameters()[0] could be an unwanted value.
{noformat}
/**
* Dummy method.
*
* @param <K> The Key type for the method
* @param <V> The Value type for the method
* @param name The name.
* @return A map configured.
*/
public <K, V> java.util.Map<K, V> dummyMethod( String name )
{
return null;
}
{noformat}
The output of the test case is:
{noformat}
docletTag.getParameters()=[<, K, >, The, Key, type, for, the, method]
WRONG should be the array: [<K>, The, Key, type, for, the, method]
docletTag.getParameters()=[<, V, >, The, Value, type, for, the, method]
WRONG should be the array: [<V>, The, Value, type, for, the, method]
docletTag.getParameters()=[name, The, name.]
docletTag.getParameters()=[A, map, configured.]
{noformat}
> Unwanted DocletTag.getParameters()[0]=< in generic case
> -------------------------------------------------------
>
> Key: QDOX-173
> URL: http://jira.codehaus.org/browse/QDOX-173
> Project: QDox
> Issue Type: Bug
> Components: QDox-Attributes
> Affects Versions: 1.9.2
> Reporter: Vincent Siveton
> Attachments: TestQDOX173.java
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email