diff options
Diffstat (limited to 'sca-java-2.x/trunk')
-rw-r--r-- | sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/JLine.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/JLine.java b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/JLine.java index a4e179dfd0..e8fcd627e2 100644 --- a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/JLine.java +++ b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/JLine.java @@ -29,7 +29,6 @@ import java.util.List; import jline.Completor; import jline.ConsoleReader; -import org.apache.tuscany.sca.runtime.ActivationException; import org.apache.tuscany.sca.shell.Shell; /** @@ -48,11 +47,7 @@ public class JLine { // Add a Ctrl-c listener reader.addTriggeredAction((char)3, new ActionListener() { public void actionPerformed(ActionEvent e) { - try { - shell.stop(null); - } catch (ActivationException e1) { - e1.printStackTrace(); - } + shell.bye(); System.exit(0); } }); |