-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactored for same basic clean-up and naming consistency * Refactored for more clean-ups and naming consistency * Refactored and extended AutoLinkPreferences * Refactored FilePreferences to immutable class * Refactored two preferences from AutoLinkPreferences to FilePreferences * Moved import linked file patterns preferences to FilePreferencesTab * Extended FilePreferences and refactored FileTab to use it * Checkstyle * Fixed merge error * Moved import-export preferences to exportSortingTab and renamed the tab * Renamed FileTab to LinkedFilesTab * Refactored ImportExportTab to PreferencesService * CHANGELOG.md * Rewording ImportExport to File * Make FilePreferences and SavePreferences mutable, added ADR
- Loading branch information
Showing
42 changed files
with
1,050 additions
and
852 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Mutable preferences objects | ||
|
||
## Context and Problem Statement | ||
|
||
To create an immutable preferences object every time seems to be a waste of time and computer memory. | ||
|
||
## Considered Options | ||
|
||
* Create a new object every time a preferences object should be altered by a with*-method, similar to a Builder. | ||
* Alter the existing object and return it. | ||
|
||
## Decision Outcome | ||
|
||
Chosen option: 1, because the preferences objects are just wrappers around the basic preferences framework of JDK. They | ||
should be mutable on-the-fly similar to objects with a Builder inside and to be stored immediatly again in the | ||
preferences. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.