[jboss-jira] [JBoss JIRA] Created: (JBMAN-30) ManagementComponent target needs to be restricted to complex annotations

Scott M Stark (JIRA) jira-events at lists.jboss.org
Mon Oct 27 16:34:25 EDT 2008


ManagementComponent target needs to be restricted to complex annotations
------------------------------------------------------------------------

                 Key: JBMAN-30
                 URL: https://jira.jboss.org/jira/browse/JBMAN-30
             Project: JBoss Managed
          Issue Type: Bug
          Components: managedobject
    Affects Versions: JBossMan.2.0.0.CR2
            Reporter: Scott M Stark
            Assignee: Scott M Stark
             Fix For: JBossMan.2.0.0.CR3


Its incorrect for the @Target to be TYPE as this annotation should only be used as the componentType of the @ManagementAnnotation. The @Target value needs to be changed to the @Target({}) to indciate it is intended solely for use as a member type in complex annotation type declarations. It cannot be used to annotate anything directly.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list