-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Cleanup preferences #8036
Cleanup preferences #8036
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good preparation for using dependency injection
src/main/java/org/jabref/gui/slr/ExistingStudySearchAction.java
Outdated
Show resolved
Hide resolved
this.taskExecutor = taskExecutor; | ||
this.preferencesService = preferencesService; | ||
this.importFormatPreferneces = preferencesService.getImportFormatPreferences(); | ||
this.stateManager = stateManager; | ||
this.importFormatPreferences = preferencesService.getImportFormatPreferences(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why keep both preferencesService and the smaller preferences objects?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a temporary placeholder on the way to use only the small objects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* upstream/main: Switch to archive.org for site.icu-project.org Add Java Profiler Fix output when closing JabRef while indexing (#8043) Remove explicit XMP import for PDFs (#8040) Fix crosses Stop indexing on cancel (#8039) Write embedded bib in addition to XMP metadata (#8037) Cleanup preferences (#8036) Fix Search dark mode theme (#8028) Allow the search to return multiple entries. (#8038) Refactored GroupTree.fxml to plain java (#8035)
Extracted some calls to Globals.prefs and Globals.stateManager.
Step by step.
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)