mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
[cleanup] Forward deprecation from implementation to interface
This commit is contained in:
parent
271001d63b
commit
7060404b1b
2 changed files with 25 additions and 23 deletions
|
@ -110,8 +110,8 @@ public interface ISystemRegistry extends ISchedulingRule, IAdaptable, ISystemVie
|
|||
* Return all subsystem configurations which support the given system type.
|
||||
* If the type is null, returns all subsystem configurations. Fully
|
||||
* equivalent to getSubSystemConfigurationsBySystemType(systemType,
|
||||
* filterDuplicates, <code>true</code>) which is preferred since we do
|
||||
* not want to load subsystem configurations unless necessary.
|
||||
* filterDuplicates, <code>true</code>) which is preferred since we do not
|
||||
* want to load subsystem configurations unless necessary.
|
||||
*
|
||||
* @param systemType system type to filter
|
||||
* @param filterDuplicates if true and the subsystem configuration uses
|
||||
|
@ -119,6 +119,11 @@ public interface ISystemRegistry extends ISchedulingRule, IAdaptable, ISystemVie
|
|||
* supports this service. Which configuration is returned is
|
||||
* undefined.
|
||||
* @return an array of subsystem configurations meeting the criteria
|
||||
*
|
||||
* @deprecated Use
|
||||
* {@link #getSubSystemConfigurationsBySystemType(IRSESystemType,boolean,boolean)}
|
||||
* instead in order to avoid instantiating subsystem
|
||||
* configurations if possible.
|
||||
*/
|
||||
public ISubSystemConfiguration[] getSubSystemConfigurationsBySystemType(IRSESystemType systemType, boolean filterDuplicates);
|
||||
|
||||
|
|
|
@ -320,9 +320,6 @@ public class SystemRegistry implements ISystemRegistry
|
|||
* (non-Javadoc)
|
||||
* @see org.eclipse.rse.core.model.ISystemRegistry#getSubSystemConfigurationsBySystemType(org.eclipse.rse.core.IRSESystemType, boolean)
|
||||
*/
|
||||
/**
|
||||
* @deprecated Use {@link #getSubSystemConfigurationsBySystemType(IRSESystemType,boolean,boolean)} instead
|
||||
*/
|
||||
public ISubSystemConfiguration[] getSubSystemConfigurationsBySystemType(IRSESystemType systemType, boolean filterDuplicateServiceSubSystemFactories)
|
||||
{
|
||||
return getSubSystemConfigurationsBySystemType(systemType, filterDuplicateServiceSubSystemFactories, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue