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

Vincent Siveton updated QDOX-154:
---------------------------------

    Attachment: TestQDOX154.java

Here is a small sample:

{noformat}
    /**
     * A Javadoc sample.
     *
     * @return The size.
     */
    public long getSize()
    {
        return 0;
    }

    /**
     * @return The size.
     *
     * A Javadoc sample.
     */
    public long getSize2()
    {
        return 0;
    }
{noformat}

The javaMethod.getComment() is empty for getSize2() and should be equal to "A 
Javadoc sample."
If it is a known limitation, the API should reflect this limitation. 

I attached a test case which displays the following.

{noformat}
Looking the class: test.TestQDOX154
Looking the method: getSize
javaMethod.getComment()=A Javadoc sample.
javaMethod.getTagByName( "return" )=The size.
Looking the method: getSize2
javaMethod.getComment()=
javaMethod.getTagByName( "return" )=The size.

A Javadoc sample.
{noformat}


> JavaMethod#getComment() is parsed with an implicit order
> --------------------------------------------------------
>
>                 Key: QDOX-154
>                 URL: http://jira.codehaus.org/browse/QDOX-154
>             Project: QDox
>          Issue Type: Bug
>            Reporter: Vincent Siveton
>         Attachments: TestQDOX154.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


Reply via email to