Skip to content

oath-client handler class refactoring #226

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

Closed
wants to merge 6 commits into from
Closed

oath-client handler class refactoring #226

wants to merge 6 commits into from

Conversation

berkde
Copy link

@berkde berkde commented Feb 17, 2024

Refactored the code for better understandability, maintainability and testability by separating concerns via delegating some functions to other classes and injecting them in the main handler class.

Simplified the code logic whereas possible without hurting the general structure much.

Note: Would be great if we could utilise Java 17 to start taking advantage of new "switch" for a more data oriented approach instead of if-else.

@berkde berkde closed this Feb 17, 2024
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