Skip to content

Conversation

@fapifta
Copy link
Contributor

@fapifta fapifta commented Feb 2, 2024

What changes were proposed in this pull request?

Removing dead code from hdds-config module. Dead code besides that it is not used can be harmful, if someone starts to use it, as it was not used it might not have been updated either along with similar functionality, so it is better to get rid of it.

Please describe your PR in detail:
The PR is, removing unused code from hdds-config module.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-10279

How was this patch tested?

Functionality should not be changing, if the code compiles, and existing tests are running fine, that pretty much proves that we did not needed these methods.
On the other hand, due to potential reflective access it is hard to prove that complete methods are not called, therefore I ran a search for the method name in the codebase and checked for that manually.

@fapifta fapifta added the code-cleanup Changes that aim to make code better, without changing functionality. label Feb 2, 2024
Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @fapifta for the patch.

@Galsza
Copy link
Contributor

Galsza commented Feb 2, 2024

@fapifta Thank you for the patch, looking good to me. Also good thinking about checking reflections.

@adoroszlai adoroszlai merged commit 8936b63 into apache:master Feb 2, 2024
@adoroszlai
Copy link
Contributor

Thanks @Galsza for the review.

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

Labels

code-cleanup Changes that aim to make code better, without changing functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants