Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

ChunkUtils calls FileChannel#open(Path, OpenOption...). Vararg array elements are then added to a new HashSet to be passed to FileChannel#open(Path, Set<? extends OpenOption>, FileAttribute<?>...). We can call the latter directly instead.

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

How was this patch tested?

Ran TestChunkUtils.

@nandakumar131
Copy link
Contributor

Test failures are not related to this change.

@nandakumar131 nandakumar131 merged commit fe85445 into apache:master Nov 13, 2019
@adoroszlai adoroszlai deleted the HDDS-2464 branch November 13, 2019 17:12
@adoroszlai
Copy link
Contributor Author

Thanks @nandakumar131 for reviewing and merging it.

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