Skip to content

Conversation

@sarvekshayr
Copy link
Contributor

What changes were proposed in this pull request?

Changing the fields mentioned in the HDDS-10152.txt from final to static final. Renaming the variables and its subsequent appearance to ALL_CAPS format.

What is the link to the Apache JIRA

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

How was this patch tested?

Patch was tested by running the test class and the corresponding test class of server-side class to ensure that the changes made ran successfully without throwing an error.

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 @sarvekshayr for working on this.

@adoroszlai adoroszlai marked this pull request as draft February 5, 2024 18:25
@sarvekshayr sarvekshayr marked this pull request as ready for review February 6, 2024 05:58
@adoroszlai adoroszlai added the code-cleanup Changes that aim to make code better, without changing functionality. label Feb 6, 2024
Copy link
Contributor

@tanvipenumudy tanvipenumudy left a comment

Choose a reason for hiding this comment

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

Thank you @sarvekshayr for the patch!
LGTM +1, pending Git CI.

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 @sarvekshayr for updating the patch.

Noticed some very minor issues:

  1. avoid access to static via this
  2. let's keep "user1", "user2" in comments instead of using constant's name, since that's the actual value

@adoroszlai adoroszlai merged commit 789c7f0 into apache:master Feb 6, 2024
@adoroszlai
Copy link
Contributor

Thanks @sarvekshayr for the patch, @tanvipenumudy for the review.

swamirishi pushed a commit to swamirishi/ozone that referenced this pull request Dec 3, 2025
(cherry picked from commit 789c7f0)
Change-Id: If6f45ff43c09fe5f6cd931a585ad73567660e150
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