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

Robert Scholte closed QDOX-117.
-------------------------------

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

This issue look a lot like QDOX-145. Since that issue is resolved this one 
seems to work just fine.
To be sure I've added a test

r533 | rfscholte | 2009-01-31 14:47:53 CET

added test for qdox-117.
----------------------------------------------------------------------------

> annotation value poluted with class instance block
> --------------------------------------------------
>
>                 Key: QDOX-117
>                 URL: http://jira.codehaus.org/browse/QDOX-117
>             Project: QDox
>          Issue Type: Bug
>          Components: Parser
>    Affects Versions: 1.6
>         Environment: Windows XP SP2
>            Reporter: Ron Saito
>            Assignee: Robert Scholte
>             Fix For: 1.8
>
>
> Using SVN version 463, I'm having a a problem reading annotations.  
> Specifically, the problem occurs when I have an class instance initialization 
> block.  The contents of the instance initialization block is showing up in 
> the annotation value reported by Qdox.  For example:
> public class foo {
>  ....
>  {
>       dosomething(..);
>   }
>   @Test (description="test blah blah")
>   public void myTest() {
>    ...
>    }
> }
>  
> In my Qdox class:
> ...
> JavaMethod m = testClass.getMethods()[0];
> m.getAnnotations()[0].getNamedParameter("description").toString();
> give:
>  [{
>       dosomething(..);
>   }
> test blah blah blah] 

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