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

LockClient Minor Changes #2723

Merged
merged 2 commits into from
Jan 8, 2024
Merged

LockClient Minor Changes #2723

merged 2 commits into from
Jan 8, 2024

Conversation

Marcosrico
Copy link
Contributor

Issues

  • My PR addresses the following Helix issues and references them in the PR description:

#2337

Description

  • Here are some details about my PR, including screenshots of any UI changes:

Modifying constructor to not include not essential parameters. Private-ing helper methods to avoid confusion.

Tests

  • The following tests are written for this issue:

lockinfotest, lockclienttest

Code Quality

  • My diff has been formatted using helix-style.xml
    (helix-style-intellij.xml if IntelliJ IDE is used)

@@ -171,23 +169,23 @@ public void setClientData(String clientData) {
* Get the value for GRANTED_AT attribute of the lock
* @param grantTime Long representing the time at which the lock was granted
*/
public void setGrantedAt(Long grantTime) {
private void setGrantedAt(Long grantTime) {
Copy link
Contributor

Choose a reason for hiding this comment

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

where is this func called?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Helper function when creating LockInfo's

@Marcosrico
Copy link
Contributor Author

PR approved by @xyuanlu
Commit message: LockClient Minor Changes

@xyuanlu xyuanlu merged commit d78efbc into apache:master Jan 8, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants