-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Refactor userـldap app commands #39928
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
Refactor userـldap app commands #39928
Conversation
2a9e9a7 to
9215858
Compare
nfebe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like some void-annotated methods do actually return values?
Hello @fenn-cs, Thank you for reviewing the PR. No method with the return type of These two lines do not belong to the same method: Here is the expanded diff: |
nfebe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Faraz!
9215858 to
e46d750
Compare
come-nc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I’m not sure why there is so much hate towards else statements, I find things clearer with them that without. Especially the continue in the loop instead of a simple else looks convoluted.
I like the strong typing, constructor promotion and constant usage in returns though.
Please revert at least the match (true).
e46d750 to
b7e19af
Compare
Thank you for taking the time to review the changes Come. This was one of my older PRs and I appreciate your suggestions. |
b7e19af to
30c0567
Compare
2785151 to
46e2cef
Compare
46e2cef to
eca25b4
Compare
To improve code readability. Signed-off-by: Faraz Samapoor <[email protected]> Co-authored-by: Côme Chilliet <[email protected]>
Co-authored-by: Côme Chilliet <[email protected]> Signed-off-by: Faraz Samapoor <[email protected]>
eca25b4 to
e6a4ebc
Compare


Summary
I have made some adjustments to the
apps/user_ldap/lib/Commandclasses to improve the code readability.The improvements in this PR include but are not limited to:
Checklist