mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 07:35:24 +02:00
[185750][api] Remove IConnectorService.getHostType()
This commit is contained in:
parent
ccd8f4b3ae
commit
6923ea332f
3 changed files with 4 additions and 27 deletions
|
@ -14,6 +14,7 @@
|
|||
* David Dykstal (IBM) - 168977: refactoring IConnectorService and ServerLauncher hierarchies
|
||||
* Martin Oberhuber (Wind River) - [175262] IHost.getSystemType() should return IRSESystemType
|
||||
* David Dykstal (IBM) - 142806: refactoring persistence framework
|
||||
* Martin Oberhuber (Wind River) - [185750] Remove IConnectorService.getHostType()
|
||||
********************************************************************************/
|
||||
package org.eclipse.rse.core.subsystems;
|
||||
|
||||
|
@ -264,13 +265,6 @@ public abstract class AbstractConnectorService extends RSEModelObject implements
|
|||
return result;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.rse.core.subsystems.IConnectorService#getHostType()
|
||||
*/
|
||||
public final String getHostType() {
|
||||
return getHost().getSystemType().getName();
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.rse.core.subsystems.IConnectorService#getHostName()
|
||||
*/
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
* Contributors:
|
||||
* David Dykstal (IBM) - 168977: refactoring IConnectorService and ServerLauncher hierarchies
|
||||
* David Dykstal (IBM) - 142806: refactoring persistence framework
|
||||
* Martin Oberhuber (Wind River) - [185750] Remove IConnectorService.getHostType()
|
||||
********************************************************************************/
|
||||
package org.eclipse.rse.core.subsystems;
|
||||
|
||||
|
@ -211,18 +212,6 @@ public abstract class AbstractDelegatingConnectorService implements IDelegatingC
|
|||
return null;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.rse.core.subsystems.IConnectorService#getHostType()
|
||||
*/
|
||||
public String getHostType() {
|
||||
IConnectorService conServ = getRealConnectorService();
|
||||
if (conServ != null)
|
||||
{
|
||||
return conServ.getHostType();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.eclipse.rse.core.model.IRSEModelObject#getName()
|
||||
*/
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
*
|
||||
* Contributors:
|
||||
* David Dykstal (IBM) - 168977: refactoring IConnectorService
|
||||
* Martin Oberhuber (Wind River) - [175262] IHost.getSystemType() should return IRSESystemType
|
||||
* Martin Oberhuber (Wind River) - [175262] IHost.getSystemType() should return IRSESystemType
|
||||
* Martin Oberhuber (Wind River) - [185750] Remove IConnectorService.getHostType()
|
||||
********************************************************************************/
|
||||
|
||||
package org.eclipse.rse.core.subsystems;
|
||||
|
@ -114,13 +115,6 @@ public interface IConnectorService extends IRSEModelObject {
|
|||
*/
|
||||
public String getTempDirectory();
|
||||
|
||||
/**
|
||||
* @return the system type for this connection.
|
||||
* //FIXME Remove this method
|
||||
* @deprecated use getHost().getSystemType() instead
|
||||
*/
|
||||
public String getHostType();
|
||||
|
||||
/**
|
||||
* Sets the host used by this connector service.
|
||||
* @param host
|
||||
|
|
Loading…
Add table
Reference in a new issue