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

Refactor Large Class Abstract Manager #115

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

coolhatharry
Copy link

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