Skip to content

HDDS-7969. CacheValue should not store value as an Optional.#4275

Merged
adoroszlai merged 3 commits intoapache:masterfrom
szetszwo:HDDS-7969
Feb 16, 2023
Merged

HDDS-7969. CacheValue should not store value as an Optional.#4275
adoroszlai merged 3 commits intoapache:masterfrom
szetszwo:HDDS-7969

Conversation

@szetszwo
Copy link
Contributor

What changes were proposed in this pull request?

//CacheValue.java
  private Optional<VALUE> value;

It should be store simply as a VALUE.

What is the link to the Apache JIRA

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

How was this patch tested?

This is a code refactoring. No new tests added.

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 @szetszwo for the improvement.

@adoroszlai adoroszlai merged commit bd900ae into apache:master Feb 16, 2023
@szetszwo
Copy link
Contributor Author

@adoroszlai , thanks a lot for reviewing this!

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