karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jamie goodyear (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (KARAF-152) when using the @Argument annotation, if there is no name specified it would be nice to reuse the name of the field, rather than use VAL
Date Sun, 17 Jul 2011 18:43:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jamie goodyear closed KARAF-152.
--------------------------------


> when using the @Argument annotation, if there is no name specified it would be nice to
reuse the name of the field, rather than use VAL
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-152
>                 URL: https://issues.apache.org/jira/browse/KARAF-152
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>            Reporter: james strachan
>            Assignee: Guillaume Nodet
>             Fix For: 2.1.0
>
>
> e.g. code like this...
> {code}
> @Argument(index = 2, description = "whatnot")
> String foo;
> {code}
> its kinda redundant having to specify the following on each argument. It should be required
only if the name is different to the field name
> {code}
> name = "foo", 
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message