[ 
http://issues.apache.org/jira/browse/BEEHIVE-968?page=comments#action_12376057 
] 

matt c commented on BEEHIVE-968:
--------------------------------

Verified fixed using local beehive build synced to SVN 393036 by examining code.

Verified that the comments have been removed.

The current code now looks like this:

        for (TypeDeclaration innerDecl : _intfDecl.getNestedTypes())
        {
            boolean fError = false;
            if (innerDecl.getAnnotation(PropertySet.class) != null)
            {
                if (! (innerDecl instanceof AnnotationTypeDeclaration))
                {

This bug may be closed.

> Remove workaround for old apt bug from AptControlInterface
> ----------------------------------------------------------
>
>          Key: BEEHIVE-968
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-968
>      Project: Beehive
>         Type: Improvement

>   Components: Controls
>     Reporter: Chad Schoettger
>     Assignee: Eddie O'Neil
>     Priority: Minor
>      Fix For: 1.0.1
>  Attachments: BEEHIVE-968.diff
>
> at line 341 of AptControlInterface:
>             // HACKHACK: There appear to be mirror API bugs where calling 
> getAnnotation()
>             // on certain entity types will result in an endless loop.  For 
> now, work around
>             // this by a priori filtering... but this mechanism will drop 
> errors that appear
>             // on an inapropriate type (see check below)
>             if (! (innerDecl instanceof AnnotationTypeDeclaration))
>                 continue;
> This code should be cleaned up - assuming this is no longer an issue with apt.

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

Reply via email to