geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r706529 - /geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/activation/BundleActivationRule.java
Date Tue, 21 Oct 2008 06:05:57 GMT
Author: jdillon
Date: Mon Oct 20 23:05:57 2008
New Revision: 706529

URL: http://svn.apache.org/viewvc?rev=706529&view=rev
Log:
Don't need cast hack anymore

Modified:
    geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/activation/BundleActivationRule.java

Modified: geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/activation/BundleActivationRule.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/activation/BundleActivationRule.java?rev=706529&r1=706528&r2=706529&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/activation/BundleActivationRule.java
(original)
+++ geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/activation/BundleActivationRule.java
Mon Oct 20 23:05:57 2008
@@ -24,6 +24,7 @@
 import org.apache.geronimo.gshell.application.plugin.activation.ActivationContext;
 import org.apache.geronimo.gshell.application.plugin.activation.ActivationRule;
 import org.apache.geronimo.gshell.application.plugin.activation.ActivationTask;
+import org.apache.geronimo.gshell.application.plugin.Plugin;
 
 /**
  * Activation rule which will enable a named-bundle.
@@ -50,7 +51,7 @@
 
         ActivationTask task = new ActivationTask() {
             public void execute() throws Exception {
-                PluginImpl plugin = (PluginImpl) context.getPlugin();
+                Plugin plugin = context.getPlugin();
                 Bundle bundle = plugin.getBundle(bundleName);
                 bundle.enable();
             }



Mime
View raw message