1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Fix for bug 209614 - a cleaner fix that uses the default delimiter from the environment variable manager.

This commit is contained in:
Doug Schaefer 2007-11-15 17:28:55 +00:00
parent 4f852d99c1
commit 188d419208

View file

@ -10,6 +10,7 @@
*******************************************************************************/
package org.eclipse.cdt.core.envvar;
import org.eclipse.cdt.internal.core.envvar.EnvironmentVariableManager;
import org.eclipse.core.runtime.Platform;
@ -65,12 +66,10 @@ public class EnvirinmentVariable implements IEnvironmentVariable, Cloneable {
}
public String getDelimiter(){
if (fDelimiter != null)
return fDelimiter;
else if (Platform.getOS() == Platform.OS_WIN32)
return ";";
if (fDelimiter == null)
return EnvironmentVariableManager.getDefault().getDefaultDelimiter();
else
return ":";
return fDelimiter;
}
public Object clone(){