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

Remove duplicities in code #2044

Closed
petrlicman opened this issue Sep 6, 2023 · 0 comments · Fixed by #2171
Closed

Remove duplicities in code #2044

petrlicman opened this issue Sep 6, 2023 · 0 comments · Fixed by #2171
Assignees

Comments

@petrlicman
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
There are some methods that just duplicate of another one, or doing exactly the same logic as another method and do not have any another purpose. Check and find such methods and remove them, replace theirs calls by one method.

For instance, there is no difference between those 3 methods, ToBooleanSafe, ToBoolean, ToNullableBoolean:

image
image
(not needed to have "bool?" as return type, of course it is possible to assign "bool" to nullable "bool?"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

1 participant