OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

[Tech Debt] Clean up stale TODO comments in UserResource.java

Open Anurag13075 opened this issue 7 months ago • 2 comments

Is your feature request related to a problem? Please describe. While auditing the codebase, it was noticed that there are lingering // TODO remove this -> Still valid TODO? comments inside UserResource.java relating to the addAuthMechanismToBot method.

Describe the solution you'd like Since addAuthMechanismToBot is actively used and critical for updating bot users, removing it now would break bot authentication. Therefore, the TODO itself is stale and irrelevant. We should remove these comments from the codebase to prevent confusion for new contributors.

Describe alternatives you've considered Leaving the comments as-is, but this creates clutter and confusion in the source code.

Additional context This is a great "good first issue" for anyone looking to contribute a quick code cleanup!

Anurag13075 avatar Apr 12 '26 08:04 Anurag13075

Hi @Anuragsharma15-dell, I would like to work on this issue. I can clean up the stale TODO comments in UserResource.java as described. Please assign this to me. Thanks!

Sayyed-Arslaan avatar Apr 12 '26 13:04 Sayyed-Arslaan

I am not an assigne here but if you want to make a pr do it

Anurag13075 avatar Apr 12 '26 14:04 Anurag13075