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

Change the visibility of 'EOS_FLAG_BIT' or make it 'const' or 'readonly' #679

Open
nikcio opened this issue Oct 15, 2022 · 1 comment · May be fixed by #1079
Open

Change the visibility of 'EOS_FLAG_BIT' or make it 'const' or 'readonly' #679

nikcio opened this issue Oct 15, 2022 · 1 comment · May be fixed by #1079
Assignees
Labels
is:enhancement New feature or request pri:low

Comments

@nikcio
Copy link
Contributor

nikcio commented Oct 15, 2022

Mentioned in #648

Specific issue: https://sonarcloud.io/project/issues?issues=AYRH0T92_qq9ReJdi431&open=AYRH0T92_qq9ReJdi431&id=apache_lucenenet

Make it const

Similar issues: https://sonarcloud.io/project/issues?resolved=false&rules=csharpsquid%3AS2223&id=apache_lucenenet

For internal members, try declaring private. But a compile will be required to test whether that is valid (some fields may actually need to be internal).

Public members should generally be made const if it is valid to do so, or static readonly in other cases. Again, compiling is required to test whether that works.

@NightOwl888 NightOwl888 added up-for-grabs This issue is open to be worked on by anyone is:enhancement New feature or request hacktoberfest-accepted labels Oct 15, 2022
sachdevlaksh added a commit to sachdevlaksh/lucenenet that referenced this issue Oct 29, 2022
@paulirwin paulirwin added this to the 4.8.0-beta00018 milestone Oct 28, 2024
@paulirwin
Copy link
Contributor

Note: Related to #662

@paulirwin paulirwin self-assigned this Jan 1, 2025
@paulirwin paulirwin removed up-for-grabs This issue is open to be worked on by anyone hacktoberfest-accepted labels Jan 1, 2025
@paulirwin paulirwin linked a pull request Jan 1, 2025 that will close this issue
4 tasks
paulirwin added a commit to paulirwin/lucene.net that referenced this issue Jan 1, 2025
paulirwin added a commit to paulirwin/lucene.net that referenced this issue Jan 18, 2025
paulirwin added a commit to paulirwin/lucene.net that referenced this issue Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:enhancement New feature or request pri:low
Projects
None yet
3 participants