You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/08/09 15:40:00 UTC

[jira] [Commented] (KARAF-5300) FeaturesService should use more specific classes for model

    [ https://issues.apache.org/jira/browse/KARAF-5300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16120093#comment-16120093 ] 

ASF subversion and git services commented on KARAF-5300:
--------------------------------------------------------

Commit 54dac91a87e1f1f076bddc9556146d3bd42f0d5f in karaf's branch refs/heads/model_features from [~chris@die-schneider.net]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=54dac91 ]

[KARAF-5300] Use FeatureReq instead of string for FeaturesService


> FeaturesService should use more specific classes for model
> ----------------------------------------------------------
>
>                 Key: KARAF-5300
>                 URL: https://issues.apache.org/jira/browse/KARAF-5300
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>
> Currently the feature service uses strings for many different purposes:
> - feature name
> - feature name glob
> - feature version
> - feature version range
> It is difficult to tell what purpose such a string has.
> I would like to create a type FeatureReq(name, VersionRange) that describes better what we do. This should make the code a lot easier to understand.
> Ideally we would also reflect this in the service interface but the stay backwards compatbile I will only use the new types internally.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)