diff options
author | David McKnight | 2010-04-29 21:31:23 +0000 |
---|---|---|
committer | David McKnight | 2010-04-29 21:31:23 +0000 |
commit | 46ba6cdcd9b96f198c31dbb1c4bc9325c5cc8e5f (patch) | |
tree | a34c3dc0eb6170710a65d6171b7ef2419b3b8325 /rse/plugins/org.eclipse.rse.services.dstore | |
parent | 9b5ec1cca3103111502c10df0ff23a6852d3c79c (diff) | |
download | org.eclipse.tm-46ba6cdcd9b96f198c31dbb1c4bc9325c5cc8e5f.tar.gz org.eclipse.tm-46ba6cdcd9b96f198c31dbb1c4bc9325c5cc8e5f.tar.xz org.eclipse.tm-46ba6cdcd9b96f198c31dbb1c4bc9325c5cc8e5f.zip |
[302724] problems with environment variable substitution
Diffstat (limited to 'rse/plugins/org.eclipse.rse.services.dstore')
-rw-r--r-- | rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java b/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java index ca8502b88..b73698d7e 100644 --- a/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java +++ b/rse/plugins/org.eclipse.rse.services.dstore/miners/org/eclipse/rse/internal/dstore/universal/miners/command/CommandMinerThread.java @@ -871,9 +871,11 @@ public class CommandMinerThread extends MinerThread nextIndex++; c = theValue.charAt(nextIndex); - if (nextIndex + 1 == theValue.length()){ - nextIndex++; - } + if (nextIndex + 1 == theValue.length()){ // last character? + if (Character.isJavaIdentifierPart(c)){ + nextIndex++; + } + } } String v = theValue.substring(index + 1, nextIndex); |