karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject svn commit: r1538596 - /karaf/trunk/bundle/command/src/main/java/org/apache/karaf/bundle/command/DynamicImport.java
Date Mon, 04 Nov 2013 13:30:53 GMT
Author: jbonofre
Date: Mon Nov  4 13:30:53 2013
New Revision: 1538596

URL: http://svn.apache.org/r1538596
Log:
[KARAF-2520] Fix NPE in bundle:dynamic-import command

Modified:
    karaf/trunk/bundle/command/src/main/java/org/apache/karaf/bundle/command/DynamicImport.java

Modified: karaf/trunk/bundle/command/src/main/java/org/apache/karaf/bundle/command/DynamicImport.java
URL: http://svn.apache.org/viewvc/karaf/trunk/bundle/command/src/main/java/org/apache/karaf/bundle/command/DynamicImport.java?rev=1538596&r1=1538595&r2=1538596&view=diff
==============================================================================
--- karaf/trunk/bundle/command/src/main/java/org/apache/karaf/bundle/command/DynamicImport.java
(original)
+++ karaf/trunk/bundle/command/src/main/java/org/apache/karaf/bundle/command/DynamicImport.java
Mon Nov  4 13:30:53 2013
@@ -27,16 +27,10 @@ import org.osgi.framework.Bundle;
 @Command(scope = "bundle", name = "dynamic-import", description = "Enables/disables dynamic-import
for a given bundle.")
 public class DynamicImport extends BundleCommand {
 
-    BundleService bundleService;
-
     public DynamicImport() {
         super(true);
     }
 
-    public void setBundleService(BundleService bundleService) {
-        this.bundleService = bundleService;
-    }
-
     @Override
     protected void doExecute(Bundle bundle) throws Exception {
         if (bundleService.isDynamicImport(bundle)) {



Mime
View raw message