Skip to content

Commit 0ceaff5

Browse files
deepika-uvogella
authored andcommitted
This change marks several deprecated, unused methods for removal and
internal deprecated methods being removed.
1 parent 3caaf9b commit 0ceaff5

File tree

8 files changed

+12
-23
lines changed

8 files changed

+12
-23
lines changed

bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ExecutionEvent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public ExecutionEvent() {
8989
* @deprecated use
9090
* {@link ExecutionEvent#ExecutionEvent(Command, Map, Object, Object)}
9191
*/
92-
@Deprecated
92+
@Deprecated(forRemoval = true, since = "2025-12")
9393
public ExecutionEvent(@SuppressWarnings("rawtypes") final Map parameters, final Object trigger,
9494
final Object applicationContext) {
9595
this(null, parameters, trigger, applicationContext);

bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public final class ParameterizedCommand implements Comparable {
6363
*
6464
* @deprecated no longer used
6565
*/
66-
@Deprecated
66+
@Deprecated(forRemoval = true, since = "2025-12")
6767
public static final int INDEX_PARAMETER_ID = 0;
6868

6969
/**
@@ -72,7 +72,7 @@ public final class ParameterizedCommand implements Comparable {
7272
*
7373
* @deprecated no longer used
7474
*/
75-
@Deprecated
75+
@Deprecated(forRemoval = true, since = "2025-12")
7676
public static final int INDEX_PARAMETER_NAME = 1;
7777

7878
/**
@@ -81,15 +81,15 @@ public final class ParameterizedCommand implements Comparable {
8181
*
8282
* @deprecated no longer used
8383
*/
84-
@Deprecated
84+
@Deprecated(forRemoval = true, since = "2025-12")
8585
public static final int INDEX_PARAMETER_VALUE_NAME = 2;
8686

8787
/**
8888
* The index of the value of the parameter that the command can understand.
8989
*
9090
* @deprecated no longer used
9191
*/
92-
@Deprecated
92+
@Deprecated(forRemoval = true, since = "2025-12")
9393
public static final int INDEX_PARAMETER_VALUE_VALUE = 3;
9494

9595
/**
@@ -450,7 +450,7 @@ public boolean equals(final Object object) {
450450
* @deprecated Please use {@link #executeWithChecks(Object, Object)}
451451
* instead.
452452
*/
453-
@Deprecated
453+
@Deprecated(forRemoval = true, since = "2025-12")
454454
public Object execute(final Object trigger, final Object applicationContext)
455455
throws ExecutionException, NotHandledException {
456456
return command.execute(new ExecutionEvent(command, getParameterMap(), trigger, applicationContext));

bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/databinding/observable/Diffs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ private static <E> int listIndexOf(List<E> list, Object object, int index) {
361361
* <code>false</code> otherwise.
362362
* @deprecated Use {@link Objects#equals(Object, Object)} instead
363363
*/
364-
@Deprecated
364+
@Deprecated(forRemoval = true, since = "2025-12")
365365
public static final boolean equals(final Object left, final Object right) {
366366
return Objects.equals(left, right);
367367
}

bundles/org.eclipse.core.databinding/src/org/eclipse/core/databinding/ObservablesManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public void addContext(DataBindingContext context, boolean trackTargets, boolean
123123
* @param runnable the runnable to execute
124124
* @since 1.2
125125
*/
126-
@Deprecated(since = "1.11.0")
126+
@Deprecated(forRemoval = true, since = "2025-12")
127127
public void runAndCollect(Runnable runnable) {
128128
IObservable[] collected = ObservableTracker.runAndCollect(runnable);
129129
for (IObservable observable : collected) {

bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/internal/css/swt/ICTabRendering.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*******************************************************************************/
1616
package org.eclipse.e4.ui.internal.css.swt;
1717

18-
import org.eclipse.core.runtime.ILog;
1918
import org.eclipse.swt.graphics.Color;
2019

2120
public interface ICTabRendering {
@@ -39,18 +38,8 @@ public interface ICTabRendering {
3938

4039
void setOuterKeyline(Color color);
4140

42-
@Deprecated(forRemoval = true)
43-
default void setShadowColor(Color color) {
44-
ILog.of(ICTabRendering.class).info("setShadowColor not supported anymore in platform renderer");
45-
}
46-
4741
void setCornerRadius(int radius);
4842

49-
@Deprecated(forRemoval = true)
50-
default void setShadowVisible(boolean visible) {
51-
ILog.of(ICTabRendering.class).info("setShadowVisible not supported anymore in platform renderer");
52-
}
53-
5443
/**
5544
* Sets whether to use a custom tab background (reusing tab colors and
5645
* gradients), or default one from plain CTabFolder (using widget background

bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/MWizardDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@
3333
* @model
3434
* @generated
3535
*/
36-
@Deprecated
36+
@Deprecated(forRemoval = true, since = "2025-12")
3737
public interface MWizardDialog extends MDialog {
3838
} // MWizardDialog

bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public class ProgressManager extends ProgressProvider {
6767
*
6868
* @deprecated use IProgressConstants#PROPERTY_IN_DIALOG instead
6969
*/
70-
@Deprecated
70+
@Deprecated(forRemoval = true, since = "2025-12")
7171
public static final QualifiedName PROPERTY_IN_DIALOG = IProgressConstants.PROPERTY_IN_DIALOG;
7272

7373
private static final String ERROR_JOB = "errorstate.svg"; //$NON-NLS-1$
@@ -622,7 +622,7 @@ public JobInfo removeJob(Job job) {
622622
* @deprecated use the more thread safe {@link #removeJob(Job)} instead. See bug
623623
* 558655.
624624
*/
625-
@Deprecated
625+
@Deprecated(forRemoval = true, since = "2025-12")
626626
public void removeJobInfo(JobInfo info) {
627627
removeJob(info.getJob());
628628
}

tests/org.eclipse.e4.emf.xpath.test/src/org/eclipse/e4/emf/xpath/test/model/xpathtest/impl/XpathtestFactoryImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public XpathtestPackage getXpathtestPackage() {
157157
* @deprecated
158158
* @generated
159159
*/
160-
@Deprecated
160+
@Deprecated(forRemoval = true, since = "2025-12")
161161
public static XpathtestPackage getPackage() {
162162
return XpathtestPackage.eINSTANCE;
163163
}

0 commit comments

Comments
 (0)