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

Enhanced Switch Statements #14587

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Enhanced Switch Statements #14587

wants to merge 1 commit into from

Conversation

alexknop
Copy link
Collaborator

@alexknop alexknop commented Feb 24, 2025

Problem:

Code was cumbersome with use of return and break statements

Solution:

Use of enhanced switch statements makes code more concise and maintainable

Signed-off-by: Alex Knop <[email protected]>
Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14587.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.

Copy link

Codacy

Lint

TypemasterPR
Warnings5454
Errors33

SpotBugs

CategoryBaseNew
Bad practice6565
Correctness5858
Dodgy code293294
Experimental11
Internationalization77
Malicious code vulnerability11
Multithreaded correctness77
Performance5151
Security1818
Total501502

SpotBugs increased!

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.

2 participants