-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[stable-3.11] Make the name collision policy for auto uploads selectable #5883
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
Conversation
Signed-off-by: Joachim Meyer <joachim@joameyer.de>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
656abc9 to
afacede
Compare
|
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue found: Avoid using redundant field initializer for 'hidden'
| private String folderName; | ||
| private String localPath; | ||
| private String remotePath; | ||
| private boolean wifiOnly = false; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
I manually cherry-picked this |
Lint
SpotBugs (new)
SpotBugs (stable-3.11)
SpotBugs increased! |
|
IT test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/13557-IT |
Lint
SpotBugs (new)
SpotBugs (stable-3.11)
SpotBugs increased! |
|
IT test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/13582-IT |
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/13592.apk |
Lint
SpotBugs (new)
SpotBugs (stable-3.11)
|
|
IT test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/13592-IT |

backport of #5810