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 AlignPanelController to take Aligner as a method parameter #1299

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

miurahr
Copy link
Member

@miurahr miurahr commented Mar 17, 2025

This change removes Aligner as a field in AlignPanelController and refactors related methods to accept it as a parameter instead. This improves encapsulation by limiting the scope of the Aligner object to where it is needed. It simplifies the controller's responsibilities, making it cleaner and less coupled.

Pull request type

Please mark github LABEL of the type of change your PR introduces:

  • Other (describe below)

refactoring to fix spotbugs error

Which ticket is resolved?

What does this PR change?

Other information

This change removes `Aligner` as a field in `AlignPanelController` and refactors related methods to accept it as a parameter instead. This improves encapsulation by limiting the scope of the `Aligner` object to where it is needed. It simplifies the controller's responsibilities, making it cleaner and less coupled.

Signed-off-by: Hiroshi Miura <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant