Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid McKnight2010-04-29 21:31:23 +0000
committerDavid McKnight2010-04-29 21:31:23 +0000
commit46ba6cdcd9b96f198c31dbb1c4bc9325c5cc8e5f (patch)
treea34c3dc0eb6170710a65d6171b7ef2419b3b8325 /rse/plugins/org.eclipse.rse.services.dstore
parent9b5ec1cca3103111502c10df0ff23a6852d3c79c (diff)
downloadorg.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.java8
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);

Back to the top