Skip to content

refactor: use internals instead of private class elements#3048

Merged
tbouffard merged 1 commit into
masterfrom
refactor/const_funct_instead_of_pure_private_methods
Mar 4, 2024
Merged

refactor: use internals instead of private class elements#3048
tbouffard merged 1 commit into
masterfrom
refactor/const_funct_instead_of_pure_private_methods

Conversation

@tbouffard

Copy link
Copy Markdown
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
@github-actions

github-actions Bot commented Mar 4, 2024

Copy link
Copy Markdown

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

🤖 By surge-preview

@github-actions

github-actions Bot commented Mar 4, 2024

Copy link
Copy Markdown

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

🤖 By surge-preview

@sonarqubecloud

sonarqubecloud Bot commented Mar 4, 2024

Copy link
Copy Markdown

@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
@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