Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds forRemoval to long deprecated methods in Platform #1645

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-Version: 3.32.0.qualifier
Bundle-Version: 3.32.100.qualifier
Bundle-SymbolicName: org.eclipse.core.runtime; singleton:=true
Bundle-Vendor: %providerName
Bundle-Activator: org.eclipse.core.internal.runtime.PlatformActivator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public static boolean isMac() {
* @since 3.0
* @deprecated not supported anymore
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String OS_AIX = "aix";//$NON-NLS-1$

/**
Expand All @@ -287,7 +287,7 @@ public static boolean isMac() {
*
* @deprecated not supported anymore
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String OS_SOLARIS = "solaris";//$NON-NLS-1$

/**
Expand All @@ -302,7 +302,7 @@ public static boolean isMac() {
*
* @deprecated not supported anymore
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String OS_HPUX = "hpux";//$NON-NLS-1$

/**
Expand All @@ -317,7 +317,7 @@ public static boolean isMac() {
*
* @deprecated not supported anymore
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String OS_QNX = "qnx";//$NON-NLS-1$

/**
Expand Down Expand Up @@ -355,7 +355,7 @@ public static boolean isMac() {
* @since 3.0
* @deprecated not supported anymore
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String ARCH_X86 = "x86";//$NON-NLS-1$

/**
Expand All @@ -370,7 +370,7 @@ public static boolean isMac() {
*
* @deprecated not supported anymore
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String ARCH_PA_RISC = "PA_RISC";//$NON-NLS-1$

/**
Expand All @@ -385,7 +385,7 @@ public static boolean isMac() {
*
* @deprecated not supported anymore
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String ARCH_PPC = "ppc";//$NON-NLS-1$

/**
Expand All @@ -400,7 +400,7 @@ public static boolean isMac() {
*
* @deprecated not supported anymore
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String ARCH_SPARC = "sparc";//$NON-NLS-1$

/**
Expand Down Expand Up @@ -455,7 +455,7 @@ public static boolean isMac() {
*
* @deprecated not supported anymore
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String ARCH_IA64 = "ia64"; //$NON-NLS-1$

/**
Expand Down Expand Up @@ -493,7 +493,7 @@ public static boolean isMac() {
*
* @deprecated not supported anymore
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String WS_MOTIF = "motif";//$NON-NLS-1$

/**
Expand All @@ -519,7 +519,7 @@ public static boolean isMac() {
* @since 3.0
* @deprecated not supported anymore
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String WS_PHOTON = "photon";//$NON-NLS-1$

/**
Expand All @@ -534,7 +534,7 @@ public static boolean isMac() {
*
* @since 3.0
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String WS_CARBON = "carbon";//$NON-NLS-1$

/**
Expand All @@ -552,7 +552,7 @@ public static boolean isMac() {
* @since 3.3
* @deprecated not supported anymore
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static final String WS_WPF = "wpf";//$NON-NLS-1$

/**
Expand Down Expand Up @@ -671,7 +671,7 @@ public static void addProtectionSpace(URL resourceUrl, String realm) throws Core
* @see Bundle#getEntry(String)
* @deprecated use {@link FileLocator#toFileURL(URL)} instead
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static URL asLocalURL(URL url) throws IOException {
return FileLocator.toFileURL(url);
}
Expand All @@ -680,7 +680,7 @@ public static URL asLocalURL(URL url) throws IOException {
* Takes down the splash screen if one was put up.
* @deprecated use {@link IApplicationContext#applicationRunning()} instead
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static void endSplash() {
InternalPlatform.getDefault().endSplash();
}
Expand Down Expand Up @@ -810,7 +810,7 @@ public static IPath getLogFileLocation() {
* As the org.eclipse.core.runtime.compatibility plug-in has been removed in
* Eclipse 4.6 this method is not supported anymore.
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static Plugin getPlugin(String id) {
return null;
}
Expand Down Expand Up @@ -851,7 +851,7 @@ public static void removeLogListener(ILogListener listener) {
* @see Bundle#getEntry(String)
* @deprecated use {@link FileLocator#resolve(URL)} instead
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static URL resolve(URL url) throws IOException {
return FileLocator.resolve(url);
}
Expand All @@ -864,7 +864,7 @@ public static URL resolve(URL url) throws IOException {
* @param runnable the runnable to run
* @deprecated clients should use <code>SafeRunner#run</code> instead
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static void run(ISafeRunnable runnable) {
SafeRunner.run(runnable);
}
Expand Down Expand Up @@ -897,7 +897,7 @@ public static IExtensionRegistry getExtensionRegistry() {
* @since 3.0
* @deprecated use {@link FileLocator#find(Bundle, IPath)}
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static URL find(Bundle bundle, IPath path) {
return FileLocator.find(bundle, path);
}
Expand Down Expand Up @@ -959,7 +959,7 @@ public static URL find(Bundle bundle, IPath path) {
* @since 3.0
* @deprecated use {@link FileLocator#find(Bundle, IPath, Map)} instead
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2025-03")
public static URL find(Bundle bundle, IPath path, Map<String,String> override) {
return FileLocator.find(bundle, path, override);
}
Expand Down Expand Up @@ -1219,7 +1219,7 @@ public static String[] getApplicationArgs() {
* clients, see javadoc for details.
* @since 3.0
*/
@Deprecated(forRemoval = true)
@Deprecated(forRemoval = true, since = "2024-03") // 2024-03 was added later for information purposes
public static PlatformAdmin getPlatformAdmin() {
return InternalPlatform.getDefault().getPlatformAdmin();
}
Expand Down
Loading