karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (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 Fri, 03 Sep 2010 20:25:32 GMT

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

Guillaume Nodet resolved KARAF-152.
-----------------------------------

      Assignee: Guillaume Nodet
    Resolution: Fixed

Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
	M	shell/console/src/main/java/org/apache/felix/gogo/commands/Argument.java
	M	shell/console/src/main/java/org/apache/felix/gogo/commands/basic/DefaultActionPreparator.java
Committed r992450


> 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: console
>            Reporter: james strachan
>            Assignee: Guillaume Nodet
>             Fix For: 2.2.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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message