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: use internals instead of private class elements #3048

Merged

Conversation

tbouffard
Copy link
Member

Replace pure private methods (i.e. method not using class instance property) by functions to better encapsulate the implementation logic.
Do the same for private properties that can be replaced by constants. Such private methods and properties were generated as public in the JavaScript code, which was not necessary.

Notes

Continue the work started in #3041.

Replace pure private methods (i.e. method not using class instance property) by functions to better encapsulate the
implementation logic.
Do the same for private properties that can be replaced by constants.
Such private methods and properties were generated as public in the JavaScript code, which was not necessary.
@tbouffard tbouffard added the refactoring Code refactoring label Mar 4, 2024
Copy link

github-actions bot commented Mar 4, 2024

♻️ PR Preview bab9666 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

Copy link

github-actions bot commented Mar 4, 2024

♻️ PR Preview bab9666 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

Copy link

sonarqubecloud bot commented Mar 4, 2024

@tbouffard tbouffard marked this pull request as ready for review March 4, 2024 13:15
@tbouffard tbouffard requested a review from csouchet March 4, 2024 13:15
@tbouffard tbouffard merged commit d430d96 into master Mar 4, 2024
24 checks passed
@tbouffard tbouffard deleted the refactor/const_funct_instead_of_pure_private_methods branch March 4, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants