Skip to content

Commit ca90b7e

Browse files
committed
Deprecate forRemoval StructuredViewer.getSorter
Yet another step towards eventually getting rid of ViewerSorter.
1 parent 84ad5a4 commit ca90b7e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StructuredViewer.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2019 IBM Corporation and others.
2+
* Copyright (c) 2000, 2026 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -1045,6 +1045,7 @@ protected Object[] getSortedChildren(Object parent) {
10451045
* @return a viewer sorter, or <code>null</code> if none or if the comparator is
10461046
* not an instance of ViewerSorter
10471047
*/
1048+
@Deprecated(forRemoval = true, since = "2026-09 (removal in 2028-09 or later)")
10481049
public ViewerSorter getSorter() {
10491050
if (sorter instanceof ViewerSorter) {
10501051
return (ViewerSorter)sorter;

0 commit comments

Comments
 (0)