Skip to content

refactor: use internal functions rather than static private methods#3041

Merged
tbouffard merged 2 commits into
masterfrom
refactor/prefer_function_to_private_static_methods
Mar 1, 2024
Merged

refactor: use internal functions rather than static private methods#3041
tbouffard merged 2 commits into
masterfrom
refactor/prefer_function_to_private_static_methods

Conversation

@tbouffard

@tbouffard tbouffard commented Feb 21, 2024

Copy link
Copy Markdown
Member

Replace pure private static methods (i.e. method not using static property) by functions to better encapsulate the implementation logic.
These methods are generated as public in the JavaScript code, which is not necessary.

Replace pure private static methods (i.e. method not using static property) by functions to better encapsulate the
implementation logic.
Such methods are generated as public in the JavaScript code which is not needed.
@tbouffard tbouffard added the refactoring Code refactoring label Feb 21, 2024
@github-actions

github-actions Bot commented Feb 21, 2024

Copy link
Copy Markdown

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

🤖 By surge-preview

@github-actions

github-actions Bot commented Feb 21, 2024

Copy link
Copy Markdown

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

🤖 By surge-preview

@tbouffard tbouffard changed the title refactor: prefer internal functions to private static methods refactor: use internal functions rather than static private methods Feb 21, 2024
@tbouffard tbouffard marked this pull request as ready for review February 22, 2024 09:10
@tbouffard tbouffard requested a review from csouchet February 22, 2024 09:10
@sonarqubecloud

sonarqubecloud Bot commented Mar 1, 2024

Copy link
Copy Markdown

@tbouffard tbouffard merged commit 86fb3cc into master Mar 1, 2024
@tbouffard tbouffard deleted the refactor/prefer_function_to_private_static_methods branch March 1, 2024 08:29
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