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

Addressing the spotbug failure #31

Merged
merged 1 commit into from
Jul 14, 2021

Conversation

khushbr
Copy link
Collaborator

@khushbr khushbr commented Jul 14, 2021

Is your feature request related to a problem? Please provide an existing Issue # , or describe.
Addressing the spotbug failure. Handling the Null condition for File.list()

Describe the solution you are proposing
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@khushbr khushbr requested a review from sruti1312 July 14, 2021 18:20
Comment on lines +177 to +180
String[] filesToDelete = root.list();
if (filesToDelete == null) {
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think we should retain filtering out .tmp files check as this might delete the currentBucket .tmp files?

@khushbr khushbr merged commit 862fc67 into opensearch-project:main Jul 14, 2021
@khushbr khushbr deleted the feature/spotbug-fix branch July 14, 2021 18:30
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.

3 participants