Skip to content

Conversation

@alexknop
Copy link
Collaborator

@alexknop alexknop commented Sep 9, 2025

There are 16 SpotBugs under

Bad practice:
RV: Bad use of return value from method (16: 0/16/0/0)
Method ignores exceptional return value (16: 0/16/0/0)

Solution:
Leveraging the more modern java.nio.Files library and conducting these make directory, delete, etc. functions via that.
Changing a Submit to an Execute function

@github-actions
Copy link

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

alperozturk96

This comment was marked as outdated.

@alexknop
Copy link
Collaborator Author

alexknop commented Oct 7, 2025

@alperozturk96 This is fixed, not sure what happened before.

alperozturk96

This comment was marked as resolved.

@github-actions
Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/15597.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@github-actions
Copy link

Codacy

Lint

TypemasterPR
Warnings4542
Errors1111

SpotBugs

CategoryBaseNew
Bad practice4645
Correctness7373
Dodgy code266266
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3535
Performance4848
Security1818
Total496495

@alperozturk96 alperozturk96 merged commit 3cab716 into master Oct 20, 2025
19 of 20 checks passed
@alperozturk96 alperozturk96 deleted the fileStorageDelete branch October 20, 2025 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants