Skip to content

Conversation

@backportbot-nextcloud
Copy link

⚠️ This backport had conflicts and is incomplete ⚠️

backport of #5810

fodinabor and others added 2 commits April 16, 2020 10:21
Signed-off-by: Joachim Meyer <joachim@joameyer.de>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@tobiasKaminsky tobiasKaminsky force-pushed the backport/5810/stable-3.11 branch from 656abc9 to afacede Compare April 16, 2020 08:24
@nextcloud-android-bot
Copy link
Collaborator

Codacy Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 8
- Added 5
           

Complexity increasing per file
==============================
- src/main/java/com/owncloud/android/providers/FileContentProvider.java  3
         

See the complete overview on Codacy

private String localPath;
private String remotePath;
private boolean wifiOnly = false;
private boolean chargingOnly = false;
Copy link
Collaborator

Choose a reason for hiding this comment

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

private Integer uploadAction;
private FileUploader.NameCollisionPolicy nameCollisionPolicy = FileUploader.NameCollisionPolicy.ASK_USER;
private MediaFolderType type;
private boolean hidden = false;
Copy link
Collaborator

Choose a reason for hiding this comment

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

private String folderName;
private String localPath;
private String remotePath;
private boolean wifiOnly = false;
Copy link
Collaborator

Choose a reason for hiding this comment

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

private boolean chargingOnly = false;
private boolean existing = true;
private boolean enabled = false;
private boolean subfolderByDate = false;
Copy link
Collaborator

Choose a reason for hiding this comment

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

private boolean wifiOnly = false;
private boolean chargingOnly = false;
private boolean existing = true;
private boolean enabled = false;
Copy link
Collaborator

Choose a reason for hiding this comment

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

@tobiasKaminsky
Copy link
Member

I manually cherry-picked this

@nextcloud-android-bot
Copy link
Collaborator

Lint

Typestable-3.11PR
Warnings7777
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings77
Security Warnings45
Dodgy code Warnings139
Total384

SpotBugs (stable-3.11)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings77
Security Warnings45
Dodgy code Warnings138
Total383

SpotBugs increased!

@nextcloud-android-bot
Copy link
Collaborator

@nextcloud-android-bot
Copy link
Collaborator

Lint

Typestable-3.11PR
Warnings7777
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings77
Security Warnings45
Dodgy code Warnings139
Total384

SpotBugs (stable-3.11)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings77
Security Warnings45
Dodgy code Warnings138
Total383

SpotBugs increased!

@nextcloud-android-bot
Copy link
Collaborator

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@nextcloud-android-bot
Copy link
Collaborator

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

@nextcloud-android-bot
Copy link
Collaborator

Lint

Typestable-3.11PR
Warnings7777
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings77
Security Warnings45
Dodgy code Warnings139
Total384

SpotBugs (stable-3.11)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings70
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings77
Security Warnings45
Dodgy code Warnings138
Total383

@nextcloud-android-bot
Copy link
Collaborator

@tobiasKaminsky tobiasKaminsky merged commit de53a77 into stable-3.11 Apr 16, 2020
@delete-merged-branch delete-merged-branch bot deleted the backport/5810/stable-3.11 branch April 16, 2020 21:21
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