Reduce spotless bugs
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
247bbd4dcd
commit
c7d2d05083
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue