karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject karaf git commit: [KARAF-4588] Pass along options
Date Wed, 22 Jun 2016 12:49:02 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-4.0.x f2ad08df8 -> 21aecef2d


[KARAF-4588] Pass along options


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

Branch: refs/heads/karaf-4.0.x
Commit: 21aecef2d62b991c21645c501cd719d8ba7bf99a
Parents: f2ad08d
Author: Christian Schneider <chris@die-schneider.net>
Authored: Wed Jun 22 14:26:14 2016 +0200
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Wed Jun 22 14:48:55 2016 +0200

----------------------------------------------------------------------
 .../karaf/features/internal/service/FeaturesServiceImpl.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/21aecef2/features/core/src/main/java/org/apache/karaf/features/internal/service/FeaturesServiceImpl.java
----------------------------------------------------------------------
diff --git a/features/core/src/main/java/org/apache/karaf/features/internal/service/FeaturesServiceImpl.java
b/features/core/src/main/java/org/apache/karaf/features/internal/service/FeaturesServiceImpl.java
index 42ef5f0..f3707f1 100644
--- a/features/core/src/main/java/org/apache/karaf/features/internal/service/FeaturesServiceImpl.java
+++ b/features/core/src/main/java/org/apache/karaf/features/internal/service/FeaturesServiceImpl.java
@@ -267,7 +267,9 @@ public class FeaturesServiceImpl implements FeaturesService, Deployer.DeployCall
         checkResolve();
     }
 
-    @SuppressWarnings("unchecked")
+    @SuppressWarnings({
+     "unchecked", "rawtypes"
+    })
     private void checkResolve() {
         if (bundle == null) {
             return; // Most certainly in unit tests
@@ -824,7 +826,7 @@ public class FeaturesServiceImpl implements FeaturesService, Deployer.DeployCall
 
     @Override
     public void installFeature(Feature feature, EnumSet<Option> options) throws Exception
{
-        installFeature(feature.getId());
+        installFeature(feature.getId(), options);
     }
 
     @Override


Mime
View raw message