mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +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.
|
* Return all subsystem configurations which support the given system type.
|
||||||
* If the type is null, returns all subsystem configurations. Fully
|
* If the type is null, returns all subsystem configurations. Fully
|
||||||
* equivalent to getSubSystemConfigurationsBySystemType(systemType,
|
* equivalent to getSubSystemConfigurationsBySystemType(systemType,
|
||||||
* filterDuplicates, <code>true</code>) which is preferred since we do
|
* filterDuplicates, <code>true</code>) which is preferred since we do not
|
||||||
* not want to load subsystem configurations unless necessary.
|
* want to load subsystem configurations unless necessary.
|
||||||
*
|
*
|
||||||
* @param systemType system type to filter
|
* @param systemType system type to filter
|
||||||
* @param filterDuplicates if true and the subsystem configuration uses
|
* @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
|
* supports this service. Which configuration is returned is
|
||||||
* undefined.
|
* undefined.
|
||||||
* @return an array of subsystem configurations meeting the criteria
|
* @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);
|
public ISubSystemConfiguration[] getSubSystemConfigurationsBySystemType(IRSESystemType systemType, boolean filterDuplicates);
|
||||||
|
|
||||||
|
|
|
@ -320,9 +320,6 @@ public class SystemRegistry implements ISystemRegistry
|
||||||
* (non-Javadoc)
|
* (non-Javadoc)
|
||||||
* @see org.eclipse.rse.core.model.ISystemRegistry#getSubSystemConfigurationsBySystemType(org.eclipse.rse.core.IRSESystemType, boolean)
|
* @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)
|
public ISubSystemConfiguration[] getSubSystemConfigurationsBySystemType(IRSESystemType systemType, boolean filterDuplicateServiceSubSystemFactories)
|
||||||
{
|
{
|
||||||
return getSubSystemConfigurationsBySystemType(systemType, filterDuplicateServiceSubSystemFactories, true);
|
return getSubSystemConfigurationsBySystemType(systemType, filterDuplicateServiceSubSystemFactories, true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue