Use the new method from the FeaturesService.

git-svn-id: 
https://svn.apache.org/repos/asf/karaf/cellar/branches/cellar-2.3.x@1482300 
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/karaf-cellar/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf-cellar/commit/3f24cbb7
Tree: http://git-wip-us.apache.org/repos/asf/karaf-cellar/tree/3f24cbb7
Diff: http://git-wip-us.apache.org/repos/asf/karaf-cellar/diff/3f24cbb7

Branch: refs/heads/cellar-2.3.x
Commit: 3f24cbb7c08879fcc8a0b6bf62051953b13a4871
Parents: 056c412
Author: jbonofre <jbonofre@13f79535-47bb-0310-9956-ffa450edef68>
Authored: Tue May 14 11:04:14 2013 +0000
Committer: jbonofre <jbonofre@13f79535-47bb-0310-9956-ffa450edef68>
Committed: Tue May 14 11:04:14 2013 +0000

----------------------------------------------------------------------
 .../org/apache/karaf/cellar/features/FeaturesEventHandler.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf-cellar/blob/3f24cbb7/features/src/main/java/org/apache/karaf/cellar/features/FeaturesEventHandler.java
----------------------------------------------------------------------
diff --git 
a/features/src/main/java/org/apache/karaf/cellar/features/FeaturesEventHandler.java
 
b/features/src/main/java/org/apache/karaf/cellar/features/FeaturesEventHandler.java
index 85d2f96..59dab41 100644
--- 
a/features/src/main/java/org/apache/karaf/cellar/features/FeaturesEventHandler.java
+++ 
b/features/src/main/java/org/apache/karaf/cellar/features/FeaturesEventHandler.java
@@ -89,7 +89,7 @@ public class FeaturesEventHandler extends FeaturesSupport 
implements EventHandle
                         featuresService.installFeature(name, version, options);
                     } else {
                         LOGGER.debug("CELLAR FEATURES: installing feature {}", 
name);
-                        featuresService.installFeature(name, "0.0.0", options);
+                        featuresService.installFeature(name, options);
                     }
                 } else if 
(FeatureEvent.EventType.FeatureUninstalled.equals(type) && isInstalled) {
                     if (version != null) {

Reply via email to