Reduce spotless bugs

Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
alperozturk 2024-04-04 12:03:45 +02:00
parent 247bbd4dcd
commit c7d2d05083
No known key found for this signature in database
GPG Key ID: 4E577DC593B59BDF
1 changed files with 1 additions and 2 deletions

View File

@ -1010,8 +1010,7 @@ public class UploadFileOperation extends SyncOperation {
private void logResult(RemoteOperationResult result, String sourcePath, String targetPath) {
if (result.isSuccess()) {
int lastIndex = sourcePath.lastIndexOf("/");
String filename = sourcePath.substring(lastIndex + 1);
String filename = sourcePath.substring(sourcePath.lastIndexOf('/') + 1);
setUploadedFilename(filename);
Log_OC.i(TAG, "Upload of " + sourcePath + " to " + targetPath + ": " + result.getLogMessage());