You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by rovarga <gi...@git.apache.org> on 2017/02/14 13:53:28 UTC

[GitHub] karaf pull request #282: Expose Dependency.hasVersion()

GitHub user rovarga opened a pull request:

    https://github.com/apache/karaf/pull/282

    Expose Dependency.hasVersion()

    Since Dependency.getVersion() behaves the same as Feature.getVersion()
    by returning "0.0.0" when no version is set, users attempting to examine
    dependencies need to resort to touching the internal model to understand
    that the version is not actually set.
    
    Expose Dependency.hasVersion() to help potential users to understand
    that the version has not been set.
    
    Signed-off-by: Robert Varga <ni...@hq.sk>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rovarga/karaf dependency-hasversion

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/karaf/pull/282.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #282
    
----
commit 400bcea403ad2e2409570421a9cf7f0a21e4bd02
Author: Robert Varga <ni...@hq.sk>
Date:   2017-02-13T20:02:36Z

    Expose Dependency.hasVersion()
    
    Since Dependency.getVersion() behaves the same as Feature.getVersion()
    by returning "0.0.0" when no version is set, users attempting to examine
    dependencies need to resort to touching the internal model to understand
    that the version is not actually set.
    
    Expose Dependency.hasVersion() to help potential users to understand
    that the version has not been set.
    
    Signed-off-by: Robert Varga <ni...@hq.sk>

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] karaf pull request #282: Expose Dependency.hasVersion()

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/karaf/pull/282


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---