Skip to content

Commit

Permalink
Mark unused methods for removal in WorkbenchWindowAdvisor
Browse files Browse the repository at this point in the history
These methods are not used since the 3.x migration, time to mark them
for deletion.
  • Loading branch information
vogella committed Nov 8, 2024
1 parent 5a4c904 commit d235146
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public void postWindowClose() {
* @deprecated This method is no longer used. Applications now define workbench
* window contents in their application model.
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2024-12")
public void createWindowContents(Shell shell) {
((WorkbenchWindowConfigurer) getWindowConfigurer()).createDefaultContents(shell);
}
Expand All @@ -291,7 +291,7 @@ public void createWindowContents(Shell shell) {
* @deprecated This method is no longer used. Applications now define workbench
* window contents in their application model.
*/
@Deprecated
@Deprecated(forRemoval = true, since = "2024-12")
public Control createEmptyWindowContents(Composite parent) {
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,15 +294,15 @@ public IStatus saveState(IMemento memento) {
}};
}

@SuppressWarnings("removal")
@Override
@SuppressWarnings("deprecation")
public Control createEmptyWindowContents(Composite parent) {
ensureThread();
return super.createEmptyWindowContents(parent);
}

@SuppressWarnings("removal")
@Override
@SuppressWarnings("deprecation")
public void createWindowContents(Shell shell) {
ensureThread();
super.createWindowContents(shell);
Expand Down

0 comments on commit d235146

Please sign in to comment.