mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 15:15:25 +02:00
[cleanup] fix javadoc errors in IRemoteCmdSubSystem
This commit is contained in:
parent
051b166e76
commit
e892da770b
3 changed files with 15 additions and 12 deletions
|
@ -63,9 +63,11 @@ public abstract class RemoteCmdSubSystemConfiguration extends SubSystemConfigura
|
|||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if subsystems of this factory support the environment variables property.
|
||||
* Return true to show it, return false to hide it. We return true.
|
||||
* Return true if subsystems of this configuration support the environment variables property.
|
||||
* For default remote command subsystems, we return <code>true</code>.
|
||||
* @see org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCmdSubSystemConfiguration#supportsEnvironmentVariablesPropertyPage()
|
||||
*/
|
||||
public boolean supportsEnvironmentVariablesPropertyPage()
|
||||
{
|
||||
|
@ -174,12 +176,13 @@ public abstract class RemoteCmdSubSystemConfiguration extends SubSystemConfigura
|
|||
return translatedType;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return in string format the character used to separate commands. Eg, ";" or "&"
|
||||
*/
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.eclipse.rse.subsystems.shells.core.subsystems.IRemoteCmdSubSystemConfiguration#getCommandSeparator()
|
||||
*/
|
||||
public String getCommandSeparator()
|
||||
{
|
||||
return ";";
|
||||
return ";"; //$NON-NLS-1$
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -18,9 +18,6 @@ package org.eclipse.rse.subsystems.shells.core.subsystems;
|
|||
|
||||
import org.eclipse.rse.core.subsystems.ISubSystemConfiguration;
|
||||
|
||||
|
||||
|
||||
//
|
||||
/**
|
||||
* @lastgen interface RemoteCmdSubSystemConfiguration extends SubSystemConfiguration {}
|
||||
*/
|
||||
|
@ -30,12 +27,14 @@ public interface IRemoteCmdSubSystemConfiguration extends ISubSystemConfiguratio
|
|||
/**
|
||||
* Return true if subsystems of this factory support the environment variables property.
|
||||
* Return true to show it, return false to hide it.
|
||||
* @return <code>true</code> if environment variables are fully supported
|
||||
*/
|
||||
public boolean supportsEnvironmentVariablesPropertyPage();
|
||||
|
||||
|
||||
/**
|
||||
* Return in string format the character used to separate commands. Eg, ";" or "&"
|
||||
* @return command separator String
|
||||
*/
|
||||
public String getCommandSeparator();
|
||||
|
||||
|
|
|
@ -40,9 +40,10 @@ public class LocalShellSubSystemConfiguration extends ShellServiceSubSystemConfi
|
|||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return in string format the character used to separate commands. Eg, ";" or "&"
|
||||
*/
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystemConfiguration#getCommandSeparator()
|
||||
*/
|
||||
public String getCommandSeparator()
|
||||
{
|
||||
String os = System.getProperty("os.name").toLowerCase(); //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue