Skip to content

Commit 037e2db

Browse files
committed
Mark IPlatformConfiguration/Factory for removal
These interfaces are currently only used by ConfiguratorUtils that is already marked for removal on 2024-03
1 parent 02ffafb commit 037e2db

File tree

7 files changed

+8
-4
lines changed

7 files changed

+8
-4
lines changed

update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* @deprecated The org.eclipse.update component has been replaced by Equinox p2.
3737
* This API will be deleted in a future release. See bug 311590 for details.
3838
*/
39-
@Deprecated
39+
@Deprecated(forRemoval = true, since = "2025-06 (removal in 2027-06 or later)")
4040
public interface IPlatformConfiguration {
4141

4242
/**

update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfigurationFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @deprecated The org.eclipse.update component has been replaced by Equinox p2.
2828
* This API will be deleted in a future release. See bug 311590 for details.
2929
*/
30-
@Deprecated
30+
@Deprecated(forRemoval = true, since = "2025-06 (removal in 2027-06 or later)")
3131
public interface IPlatformConfigurationFactory {
3232
/**
3333
* Returns the current platform configuration.

update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/BundleGroupComponent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* made available in the service registry before this bundle has started.
3131
*/
3232
@Component(service = IBundleGroupProvider.class)
33-
@SuppressWarnings("deprecation")
33+
@SuppressWarnings("removal")
3434
public class BundleGroupComponent implements IBundleGroupProvider {
3535

3636

update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/IConfigurationConstants.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public interface IConfigurationConstants {
4949
public static final String CFG_TRANSIENT = "transient"; //$NON-NLS-1$
5050
public static final String VERSION = "3.0"; //$NON-NLS-1$
5151

52+
@SuppressWarnings("removal")
5253
public static final int DEFAULT_POLICY_TYPE = ISitePolicy.USER_EXCLUDE;
5354
public static final String[] DEFAULT_POLICY_LIST = new String[0];
5455

update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/PlatformConfigurationFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import org.osgi.service.component.annotations.Component;
2626
import org.osgi.service.component.annotations.Deactivate;
2727

28-
@SuppressWarnings("deprecation")
28+
@SuppressWarnings("removal")
2929
@Component(service = IPlatformConfigurationFactory.class)
3030
public class PlatformConfigurationFactory implements IPlatformConfigurationFactory {
3131
private Location configLocation;

update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/SiteEntry.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import org.xml.sax.*;
3434

3535

36+
@SuppressWarnings("removal")
3637
public class SiteEntry implements IPlatformConfiguration.ISiteEntry, IConfigurationConstants{
3738
private static final String MAC_OS_MARKER = ".DS_Store"; //$NON-NLS-1$
3839

update/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/SitePolicy.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,15 @@
1717
import org.eclipse.update.configurator.IPlatformConfiguration.*;
1818

1919

20+
@SuppressWarnings("removal")
2021
public class SitePolicy implements IPlatformConfiguration.ISitePolicy {
2122

2223
private int type;
2324
private String[] list;
2425

2526
public SitePolicy() {
2627
}
28+
2729
public SitePolicy(int type, String[] list) {
2830
if (type != ISitePolicy.USER_INCLUDE && type != ISitePolicy.USER_EXCLUDE && type != ISitePolicy.MANAGED_ONLY)
2931
throw new IllegalArgumentException();

0 commit comments

Comments
 (0)