You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2010/09/24 02:55:32 UTC

[jira] Created: (FELIX-2620) Change iPojo annotation parameters to follow java naming conventions

Change iPojo annotation parameters to follow java naming conventions 
---------------------------------------------------------------------

                 Key: FELIX-2620
                 URL: https://issues.apache.org/jira/browse/FELIX-2620
             Project: Felix
          Issue Type: Improvement
          Components: iPOJO
    Affects Versions: iPOJO-1.8.0
            Reporter: Peter Donald
            Priority: Minor
             Fix For: iPOJO-1.8.0


Parameter names in the annotations do not follow java naming patterns. The annotation parameter tend to use underscore separated words in lower case while java conventions typically use camelCase. Fixing these to follow java conventions reduces the conceptual load for dopting the library.

Some examples: 

* @Subscriber.data_key
* @Subscriber.data_type
* @Publisher.data_key
* @Publisher.data_type
* @Component.factory_method

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2620) Change iPojo annotation parameters to follow java naming conventions

Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12915851#action_12915851 ] 

Clement Escoffier commented on FELIX-2620:
------------------------------------------

Fixed in trunk.

> Change iPojo annotation parameters to follow java naming conventions 
> ---------------------------------------------------------------------
>
>                 Key: FELIX-2620
>                 URL: https://issues.apache.org/jira/browse/FELIX-2620
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.8.0
>            Reporter: Peter Donald
>            Priority: Minor
>             Fix For: iPOJO-1.8.0
>
>
> Parameter names in the annotations do not follow java naming patterns. The annotation parameter tend to use underscore separated words in lower case while java conventions typically use camelCase. Fixing these to follow java conventions reduces the conceptual load for dopting the library.
> Some examples: 
> * @Subscriber.data_key
> * @Subscriber.data_type
> * @Publisher.data_key
> * @Publisher.data_type
> * @Component.factory_method

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-2620) Change iPojo annotation parameters to follow java naming conventions

Posted by "Clement Escoffier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clement Escoffier resolved FELIX-2620.
--------------------------------------

    Resolution: Fixed

> Change iPojo annotation parameters to follow java naming conventions 
> ---------------------------------------------------------------------
>
>                 Key: FELIX-2620
>                 URL: https://issues.apache.org/jira/browse/FELIX-2620
>             Project: Felix
>          Issue Type: Improvement
>          Components: iPOJO
>    Affects Versions: iPOJO-1.8.0
>            Reporter: Peter Donald
>            Priority: Minor
>             Fix For: iPOJO-1.8.0
>
>
> Parameter names in the annotations do not follow java naming patterns. The annotation parameter tend to use underscore separated words in lower case while java conventions typically use camelCase. Fixing these to follow java conventions reduces the conceptual load for dopting the library.
> Some examples: 
> * @Subscriber.data_key
> * @Subscriber.data_type
> * @Publisher.data_key
> * @Publisher.data_type
> * @Component.factory_method

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.