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

Extract method #1125

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

Conversation

sarthak3136
Copy link

The code has been refactored by re-structuring the components of the file. The following file has been changed.

FilePath

src/main/java/amidst/mojangapi/world/icon/locationchecker/SuppressAroundLocationChecker.java

Improvements Made

The "isValidLocation()" method was previously handling multiple functionalities, which goes against the principle of single responsibility. Therefore, it has undergone a refactoring process, wherein the relevant component of the method has been extracted and implemented in a new method. This results in a more streamlined and organized code structure.

Notes for Reviewers

Thank you for taking the time to review this pull request. If you have any questions or suggestions for improvement, please don't hesitate to let me know.

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.

None yet

1 participant