karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ioca...@apache.org
Subject svn commit: r1100584 - /karaf/trunk/jaas/command/src/main/java/org/apache/karaf/jaas/command/CancelCommand.java
Date Sat, 07 May 2011 18:22:11 GMT
Author: iocanel
Date: Sat May  7 18:22:11 2011
New Revision: 1100584

URL: http://svn.apache.org/viewvc?rev=1100584&view=rev
Log:
[KARAF-622] Jass cancel command functionality properly move to doExecute method.

Modified:
    karaf/trunk/jaas/command/src/main/java/org/apache/karaf/jaas/command/CancelCommand.java

Modified: karaf/trunk/jaas/command/src/main/java/org/apache/karaf/jaas/command/CancelCommand.java
URL: http://svn.apache.org/viewvc/karaf/trunk/jaas/command/src/main/java/org/apache/karaf/jaas/command/CancelCommand.java?rev=1100584&r1=1100583&r2=1100584&view=diff
==============================================================================
--- karaf/trunk/jaas/command/src/main/java/org/apache/karaf/jaas/command/CancelCommand.java
(original)
+++ karaf/trunk/jaas/command/src/main/java/org/apache/karaf/jaas/command/CancelCommand.java
Sat May  7 18:22:11 2011
@@ -28,11 +28,16 @@ import java.util.LinkedList;
 public class CancelCommand extends JaasCommandSupport {
 
     @Override
-    protected Object doExecute(BackingEngine engine) throws Exception {
+    protected Object doExecute() throws Exception {
         //Cleanup the session
         session.put(JAAS_REALM, null);
         session.put(JAAS_ENTRY, null);
         session.put(JAAS_CMDS, new LinkedList<JaasCommandSupport>());
         return null;
     }
+
+    @Override
+    protected Object doExecute(BackingEngine engine) throws Exception {
+        return null;
+    }
 }



Mime
View raw message