Skip to content

Refactor Large Class Abstract Manager#115

Open
coolhatharry wants to merge 4 commits intofreezy:masterfrom
coolhatharry:master
Open

Refactor Large Class Abstract Manager#115
coolhatharry wants to merge 4 commits intofreezy:masterfrom
coolhatharry:master

Conversation

@coolhatharry
Copy link
Copy Markdown

Added a patchset for the refactoring in the patchset folder, here is a rundown:

[PATCH 0/3]

  • AbstractManager is a Large Class (Code Smell) and it has more than one responsibility.
    Therefore, we extracted Sort attributes and methods to a new class called SortPreferenceMedia.

[PATCH 1/3] Added Preferences For IDE to Ignore File

  • Added files to the .gitignore from the preferences that were created by Android Studio

[PATCH 2/3] Refactored AbstractManager

  • Extracted KEY_SORT attributes to a new class called SortPreferenceMedia
  • Removed Interface ISortableManager from the child classes of AbstractManager

PATCH 3/3] Removed Sort Methods From AbstractManager

  • Removed Unnecessary method getSortOrder from AbstractManager

Added files to the .gitignore from the preferences that were created by
Android Studio
- Extracted KEY_SORT attributes to a new class called
SortPreferenceMedia
- Removed Interface ISortableManager from the child classes of
AbstractManager
- Removed Unnecessary method getSortOrder from AbstractManager
- Added new folder for patches
- Documented a patchiest of changes
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.

1 participant