diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-07 09:29:09 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-07 09:29:09 +0000 |
commit | b05cb129243d11d7640ad163c3b4ce418a922f8f (patch) | |
tree | f21f6c34e484219d2baf2d3a0c30bee21222dcf0 | |
parent | 43581b0d383083350dcbf58cba22875916ff6731 (diff) |
Avoid not founds due to extra whitespace
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@961321 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/TShellCompletor.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/TShellCompletor.java b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/TShellCompletor.java index a3069ff090..ad6fb74e08 100644 --- a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/TShellCompletor.java +++ b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/jline/TShellCompletor.java @@ -81,6 +81,7 @@ public class TShellCompletor extends ArgumentCompletor { if (argIndex > 0) { /* set the last argument in a static for the CompositeURICompletor */ lastArg = list.getArguments()[argIndex-1]; + if (lastArg != null) lastArg = lastArg.trim(); } final Completor comp; |