mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 15:15:25 +02:00
[231209] [api][breaking] IRemoteFile.getSystemConnection() should be changed to IRemoteFile.getHost()
This commit is contained in:
parent
0c2055de47
commit
22dca8fe78
3 changed files with 7 additions and 5 deletions
|
@ -12,7 +12,7 @@
|
|||
* Emily Bruner, Mazen Faraj, Adrian Storisteanu, Li Ding, and Kent Hawley.
|
||||
*
|
||||
* Contributors:
|
||||
* {Name} (company) - description of contribution.
|
||||
* David McKnight (IBM) - [231209] [api][breaking] IRemoteFile.getSystemConnection() should be changed to IRemoteFile.getHost()
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.subsystems.files.core.servicesubsystem;
|
||||
|
@ -47,7 +47,7 @@ public abstract class AbstractRemoteFile extends RemoteFile implements IRemoteFi
|
|||
return _subSystem;
|
||||
}
|
||||
|
||||
public IHost getSystemConnection()
|
||||
public IHost getHost()
|
||||
{
|
||||
return _subSystem.getHost();
|
||||
}
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
*
|
||||
* Contributors:
|
||||
* David McKnight (IBM) - [209593] [api] add support for "file permissions" and "owner" properties for unix files
|
||||
* David McKnight (IBM) - [231209] [api][breaking] IRemoteFile.getSystemConnection() should be changed to IRemoteFile.getHost()
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.subsystems.files.core.subsystems;
|
||||
|
@ -99,11 +100,11 @@ public interface IRemoteFile extends IRemoteContainer, IRemotePropertyHolder, IS
|
|||
/**
|
||||
* Return the connection this remote file is from.
|
||||
*/
|
||||
public IHost getSystemConnection();
|
||||
public IHost getHost();
|
||||
|
||||
/**
|
||||
* Return the parent remote file object expanded to get this object,
|
||||
* or <code>null</nul> if no such parent exists.
|
||||
* or <code>null</code> if no such parent exists.
|
||||
*
|
||||
* @return the parent remote file object or <code>null</code>.
|
||||
*/
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
* David McKnight (IBM) - [209593] [api] add support for "file permissions" and "owner" properties for unix files
|
||||
* Martin Oberhuber (Wind River) - [220020][api][breaking] SystemFileTransferModeRegistry should be internal
|
||||
* Martin Oberhuber (Wind River) - [219975] Fix implementations of clone()
|
||||
* David McKnight (IBM) - [231209] [api][breaking] IRemoteFile.getSystemConnection() should be changed to IRemoteFile.getHost()
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.rse.subsystems.files.core.subsystems;
|
||||
|
@ -335,7 +336,7 @@ public abstract class RemoteFile implements IRemoteFile, IAdaptable, Comparable
|
|||
/**
|
||||
* Return the connection this remote file is from.
|
||||
*/
|
||||
public IHost getSystemConnection()
|
||||
public IHost getHost()
|
||||
{
|
||||
IRemoteFileSubSystem ss = _context.getParentRemoteFileSubSystem();
|
||||
if (ss == null)
|
||||
|
|
Loading…
Add table
Reference in a new issue