Skip to content

Commit 95779d4

Browse files
committed
There are some unused constants in SWT that are deprecated since long.
So marking them for removal.
1 parent 079d2a9 commit 95779d4

File tree

3 files changed

+5
-5
lines changed
  • bundles/org.eclipse.swt
    • Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility
    • Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom
    • Eclipse SWT/common/org/eclipse/swt

3 files changed

+5
-5
lines changed

bundles/org.eclipse.swt/Eclipse SWT Accessibility/common/org/eclipse/swt/accessibility/ACC.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public class ACC {
7979
public static final int ROLE_TABLECELL = 0x1d;
8080
public static final int ROLE_TABLECOLUMNHEADER = 0x19;
8181
/** @deprecated use ROLE_TABLECOLUMNHEADER */
82-
@Deprecated
82+
@Deprecated(forRemoval = true, since = "2025-12")
8383
public static final int ROLE_TABLECOLUMN = ROLE_TABLECOLUMNHEADER;
8484
public static final int ROLE_TABLEROWHEADER = 0x1a;
8585
public static final int ROLE_TREE = 0x23;

bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public class CTabFolder extends Composite {
7979
*
8080
* @deprecated This field is no longer used. See setMinimumCharacters(int)
8181
*/
82-
@Deprecated
82+
@Deprecated(forRemoval = true, since = "2025-12")
8383
public int MIN_TAB_WIDTH = 4;
8484

8585
/**

bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -978,14 +978,14 @@ public class SWT {
978978
* @deprecated The same as PreExternalEventDispatch (value is 52).
979979
* @since 3.103
980980
*/
981-
@Deprecated
981+
@Deprecated(forRemoval = true, since = "2025-12")
982982
public static final int Sleep = PreExternalEventDispatch;
983983

984984
/**
985985
* @deprecated The same as PostExternalEventDispatch (value is 53).
986986
* @since 3.103
987987
*/
988-
@Deprecated
988+
@Deprecated(forRemoval = true, since = "2025-12")
989989
public static final int Wakeup = PostExternalEventDispatch;
990990

991991
/**
@@ -2549,7 +2549,7 @@ public class SWT {
25492549
* XULRunner as a browser renderer is no longer supported. Use
25502550
* <code>SWT.WEBKIT</code> or <code>SWT.NONE</code> instead.
25512551
*/
2552-
@Deprecated
2552+
@Deprecated(forRemoval = true, since = "2025-12")
25532553
public static final int MOZILLA = 1 << 15;
25542554

25552555
/**

0 commit comments

Comments
 (0)