You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by gn...@apache.org on 2014/03/18 08:11:26 UTC
git commit: [KARAF-2790] Bundle commands wrongly default to select
all bundles
Repository: karaf
Updated Branches:
refs/heads/karaf-3.0.x 9c25ac33a -> c4e845997
[KARAF-2790] Bundle commands wrongly default to select all bundles
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/c4e84599
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/c4e84599
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/c4e84599
Branch: refs/heads/karaf-3.0.x
Commit: c4e8459977b5bee37c358f84cd0abc426ded13c9
Parents: 9c25ac3
Author: Guillaume Nodet <gn...@gmail.com>
Authored: Mon Feb 24 21:57:34 2014 +0100
Committer: Guillaume Nodet <gn...@gmail.com>
Committed: Tue Mar 18 08:11:08 2014 +0100
----------------------------------------------------------------------
.../org/apache/karaf/bundle/core/internal/BundleSelectorImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf/blob/c4e84599/bundle/core/src/main/java/org/apache/karaf/bundle/core/internal/BundleSelectorImpl.java
----------------------------------------------------------------------
diff --git a/bundle/core/src/main/java/org/apache/karaf/bundle/core/internal/BundleSelectorImpl.java b/bundle/core/src/main/java/org/apache/karaf/bundle/core/internal/BundleSelectorImpl.java
index 406a897..5806f39 100644
--- a/bundle/core/src/main/java/org/apache/karaf/bundle/core/internal/BundleSelectorImpl.java
+++ b/bundle/core/src/main/java/org/apache/karaf/bundle/core/internal/BundleSelectorImpl.java
@@ -43,7 +43,7 @@ public class BundleSelectorImpl {
}
addMatchingBundles(id, bundles);
}
- } else {
+ } else if (defaultAllBundles) {
Collections.addAll(bundles, bundleContext.getBundles());
}
return bundles;