summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/Shell.java2
1 files changed, 1 insertions, 1 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 00f1626bdb..bd77c2cc1d 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
@@ -505,7 +505,7 @@ public class Shell {
int quotedString(String[] toks, int i) {
if (toks[i].startsWith("\"") || toks[i].startsWith("'")) {
for (int j=i+1; j<toks.length; j++) {
- if (toks[j].endsWith(toks[i].substring(0,0))) {
+ if (toks[j].endsWith(toks[i].substring(0,1))) {
return j;
}
}