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 AppleExtension library #2823

Merged

Conversation

PatrikScully
Copy link
Contributor

@PatrikScully PatrikScully commented Jan 19, 2024

The official Apple documentation describes that the OSXAdapter class makes work of the macOS Application Bar's Quit, About, and Preferences menu items. I removed the extension library and the adapter class from the codebase, and I tried the GUI again, and the menu items are still working. The About and Quit items are working as they should. The Preferences menu doesn't exist, but the Preferences/Reconfigure menu item can be found under the File menu. It's okay, I guess.

I tested with the ./spotbugs and ./spotbugs2 commands too and the application is working fine, I can load files, use the functions.

I compiled by Java 21.0.1 (12) and tested on macOS Sonoma 14.2.1. I didn't get any exceptions on the console while I tested the application.

Some screenshot:

image image image image

fixes #1324
fixes #418
fixes #2818

@PatrikScully PatrikScully marked this pull request as draft January 19, 2024 13:25
@PatrikScully PatrikScully marked this pull request as ready for review January 19, 2024 13:33
@hazendaz hazendaz self-assigned this Jan 20, 2024
@hazendaz
Copy link
Member

LGTM! Thank you for tackling this one.

@hazendaz
Copy link
Member

@Spatrik95 I'll go ahead and merge and add change log afterwards.

@hazendaz hazendaz merged commit 6c39b96 into spotbugs:master Jan 20, 2024
9 checks passed
@hazendaz hazendaz added this to the SpotBugs 4.8.4 milestone Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants