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

chore(S3FS): Extract supported file attribute views to static field #201

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

guicamest
Copy link
Contributor

Description of changes:

This PR extracts supportedFileAttributeViews into a static field so that the creation of the temporary HashSet and the call to unmodifiable... do not happen each time the method is called. It also uses just the supported value instead of having a size of 2.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@markjschreiber markjschreiber left a comment

Choose a reason for hiding this comment

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

Approved. Thanks

@markjschreiber markjschreiber merged commit 2a69baf into awslabs:main Oct 3, 2023
1 check passed
@guicamest guicamest deleted the supportedFileAttrs branch October 3, 2023 14:59
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