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

BREAKING: remove virtual call from the constructor for Sort #813

Merged

Conversation

laimis
Copy link
Contributor

@laimis laimis commented Apr 9, 2023

Continuation of fixes with virtual calls being made from constructors. The issue originally reported by SonarCloud scans: https://sonarcloud.io/project/issues?resolved=false&rules=csharpsquid%3AS1699&id=apache_lucenenet and referenced in this issue: #670

This one focuses on Sort. Creating a private method that constructor can call and calling the private method from the virtual method.

@laimis laimis merged commit 3846ec4 into apache:master Apr 9, 2023
@laimis laimis deleted the fix/virtual-calls-from-constructors-sort branch May 17, 2023 18:35
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.

2 participants