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

Remove deprecated method and constructor in PopupDialog #334

Merged
merged 1 commit into from
Sep 16, 2022

Conversation

vogella
Copy link
Contributor

@vogella vogella commented Sep 14, 2022

The method getPersistBounds() is removed from class org.eclipse.jface.dialogs.PopupDialog. Clients are encouraged to use the method getPersistLocation() or getPersistSize() instead. Also remove the deprecated constructor. Clients should use the not deprecated constructor.

See bug 531913.

@vogella
Copy link
Contributor Author

vogella commented Sep 14, 2022

Still needs API filters I hope to finish #323 first.

@vogella vogella marked this pull request as draft September 14, 2022 14:52
@vogella vogella marked this pull request as ready for review September 15, 2022 11:47
The method getPersistBounds() is removed from class
org.eclipse.jface.dialogs.PopupDialog. Clients are encouraged to use the
method getPersistLocation() or getPersistSize() instead. Also remove the
deprecated constructor. Clients should use the not deprecated
constructor.

See bug 531913.
@vogella
Copy link
Contributor Author

vogella commented Sep 16, 2022

Not sure why API check does not complain but lets believe it....

@HannesWell FYI, this is one of a deletions I usually do per release, something important but nice to reduce the code base from time to time.

@vogella vogella merged commit b453b4a into eclipse-platform:master Sep 16, 2022
@vogella vogella deleted the api-popup-removal branch September 16, 2022 11:28
@vogella
Copy link
Contributor Author

vogella commented Sep 16, 2022

API removal update eclipse-platform/eclipse.platform.common#75

@HannesWell
Copy link
Member

@HannesWell FYI, this is one of a deletions I usually do per release, something important but nice to reduce the code base from time to time.

Yes, I also appreciate to get rid of unnecessary code. It just makes the code base simpler to understand if there is less to understand and therefore simplifies maintenance, even the code itself is not actively maintained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants