[ 
http://jira.codehaus.org/browse/MGROOVY-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130249#action_130249
 ] 

Jason Dillon commented on MGROOVY-128:
--------------------------------------

No you don't need to mark them as public, w/o access modifiers the default is 
public.  Anyways, I'm tracking this down now ;-)


> static member variables not correctly handled by stub generator
> ---------------------------------------------------------------
>
>                 Key: MGROOVY-128
>                 URL: http://jira.codehaus.org/browse/MGROOVY-128
>             Project: Maven 2.x Groovy Integration
>          Issue Type: Bug
>          Components: stub generation
>    Affects Versions: 1.0-beta-4
>            Reporter: Andreas Heydler
>            Assignee: Jason Dillon
>
> The following groovy
> {code}
> class MainModel extends Model implements ExitListener {
>    public static final String ACTION_PRINT               = 'print',
>                               ACTION_OPEN_PRINT_DIALOG   = 'openPrintDialog',
>                               ACTION_OPEN_PREFERENCES    = 'openPreferences',
>                               ACTION_EXIT                = 'exit',
>                               ACTION_OPEN_TIP_OF_THE_DAY = 'openTipOfTheDay',
>                               ACTION_OPEN_HELP_CONTENTS  = 'openHelpContents',
>                               ACTION_OPEN_ABOUT_DIALOG   = 'openAboutDialog'
>    public static final String MONTH    = 'month',
>                               OPERATOR = 'operator',
>                               TOTALS   = 'totals'
> }
> {code}
> produces this (the static modifier is missing)
> {code}
> /**
>  * @source-type GROOVY
>  */
> public class MainModel extends Model implements ExitListener {
>       public String ACTION_PRINT = null;
>       public String ACTION_OPEN_PRINT_DIALOG = null;
>       public String ACTION_OPEN_PREFERENCES = null;
>       public String ACTION_EXIT = null;
>       public String ACTION_OPEN_TIP_OF_THE_DAY = null;
>       public String ACTION_OPEN_HELP_CONTENTS = null;
>       public String ACTION_OPEN_ABOUT_DIALOG = null;
>       public String MONTH = null;
>       public String OPERATOR = null;
>       public String TOTALS = null;
> }
> {code}

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