mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
[179937] Mark IRemoteCmdSubsystem#getShellEncoding() deprecated
This commit is contained in:
parent
b4d23ea0c6
commit
07eaaaeb0f
2 changed files with 7 additions and 1 deletions
|
@ -19,6 +19,7 @@ package org.eclipse.rse.subsystems.shells.core.subsystems;
|
|||
import java.util.List;
|
||||
|
||||
import org.eclipse.core.runtime.IProgressMonitor;
|
||||
import org.eclipse.rse.core.model.IHost;
|
||||
import org.eclipse.rse.core.subsystems.IRemoteSystemEnvVar;
|
||||
import org.eclipse.rse.core.subsystems.ISubSystem;
|
||||
import org.eclipse.swt.widgets.Shell;
|
||||
|
@ -142,7 +143,9 @@ public interface IRemoteCmdSubSystem extends ISubSystem{
|
|||
|
||||
|
||||
/**
|
||||
* Returns the shell encoding to assume when reading IO from a remote shell
|
||||
* Returns the shell encoding to assume when reading IO from a remote shell.
|
||||
*
|
||||
* @deprecated use {@link IHost#getDefaultEncoding(boolean)} instead
|
||||
*/
|
||||
public String getShellEncoding();
|
||||
|
||||
|
|
|
@ -93,6 +93,9 @@ public abstract class RemoteCmdSubSystem extends SubSystem implements IRemoteCmd
|
|||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use {@link IHost#setDefaultEncoding(String, boolean)} instead
|
||||
*/
|
||||
public void setShellEncoding(String encoding)
|
||||
{
|
||||
IPropertySet set = getPropertySet("Remote"); //$NON-NLS-1$
|
||||
|
|
Loading…
Add table
Reference in a new issue