summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-07-06 20:30:39 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-07-06 20:30:39 +0000
commitf093fe74dbd3b677a4980edf8a6ac9ad88f90aba (patch)
tree1e317813d20224a3cf69e25b56847486d39d22f9 /sca-java-2.x
parent23103c0c1724e3599556248a478d0dcd69057854 (diff)
accept command in any case
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@961009 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x')
-rw-r--r--sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java
index ac3b2d8faf..098933caef 100644
--- a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java
+++ b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java
@@ -294,52 +294,52 @@ public class Shell {
Callable<Boolean> eval(final List<String> toks) {
final String op = toks.get(0);
- if (op.equals("addDeploymentComposite")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ if (op.equalsIgnoreCase("addDeploymentComposite")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return addDeploymentComposite(toks.get(1), toks.get(2));
}};
- if (op.equals("addToDomainLevelComposite")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ if (op.equalsIgnoreCase("addToDomainLevelComposite")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return addToDomainLevelComposite(toks.get(1));
}};
- if (op.equals("install")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ if (op.equalsIgnoreCase("install")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return install(toks);
}};
- if (op.equals("installed")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ if (op.equalsIgnoreCase("installed")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return installed(toks);
}};
- if (op.equals("listDeployedCompostes")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ if (op.equalsIgnoreCase("listDeployedCompostes")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return listDeployedCompostes(toks.get(1));
}};
- if (op.equals("printDomainLevelComposite")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ if (op.equalsIgnoreCase("printDomainLevelComposite")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return printDomainLevelComposite();
}};
- if (op.equals("listInstalledContributions")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ if (op.equalsIgnoreCase("listInstalledContributions")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return listInstalledContributions();
}};
- if (op.equals("getQNameDefinition")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ if (op.equalsIgnoreCase("getQNameDefinition")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return getQNameDefinition(toks.get(1), toks.get(2), toks.get(3));
}};
- if (op.equals("remove")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ if (op.equalsIgnoreCase("remove")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return remove(toks.get(1));
}};
- if (op.equals("removeFromDomainLevelComposite")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ if (op.equalsIgnoreCase("removeFromDomainLevelComposite")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return removeFromDomainLevelComposite(toks.get(1));
}};
- if (op.equals("help")) return new Callable<Boolean>() { public Boolean call() {
+ if (op.equalsIgnoreCase("help")) return new Callable<Boolean>() { public Boolean call() {
return help(toks);
}};
- if (op.equals("stop")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ if (op.equalsIgnoreCase("stop")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return stop(toks);
}};
- if (op.equals("start")) return new Callable<Boolean>() { public Boolean call() throws Exception {
+ if (op.equalsIgnoreCase("start")) return new Callable<Boolean>() { public Boolean call() throws Exception {
return start(toks.get(1), toks.get(2));
}};
- if (op.equals("status")) return new Callable<Boolean>() { public Boolean call() {
+ if (op.equalsIgnoreCase("status")) return new Callable<Boolean>() { public Boolean call() {
return status(toks);
}};
- if (op.equals("history")) return new Callable<Boolean>() { public Boolean call() {
+ if (op.equalsIgnoreCase("history")) return new Callable<Boolean>() { public Boolean call() {
return history();
}};
- if (op.equals("")) return new Callable<Boolean>() { public Boolean call() {
+ if (op.equalsIgnoreCase("")) return new Callable<Boolean>() { public Boolean call() {
return true;
}};
return new Callable<Boolean>() { public Boolean call() {