[jira] Created: (QDOX-173) Unwanted DocletTag.getParameters()[0]=< in generic case

View: New views
3 Messages — Rating Filter:   Alert me  

[jira] Created: (QDOX-173) Unwanted DocletTag.getParameters()[0]=< in generic case

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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




--
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



[jira] Updated: (QDOX-173) Unwanted DocletTag.getParameters()[0]=< in generic case

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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



[jira] Resolved: (QDOX-173) Unwanted DocletTag.getParameters()[0]=< in generic case

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/QDOX-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte resolved QDOX-173.
---------------------------------

         Assignee: Robert Scholte
       Resolution: Fixed
    Fix Version/s: 1.10

committed both fix and test

r632 | rfscholte | 2009-07-23 21:33:00 CEST

fix for QDox-173: recognize generic as word
----------------------------------------------------------------------------

> 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
>            Assignee: Robert Scholte
>             Fix For: 1.10
>
>         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