Skip to content

Commit 032c400

Browse files
author
Julian Kast
committed
Fixed formatting in BaseFileManager uploadFile
1 parent 0c97f66 commit 032c400

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

base/src/main/java/com/smartdevicelink/managers/file/BaseFileManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,10 @@ public void uploadFile(@NonNull final SdlFile file, final CompletionListener lis
331331
}
332332
// In sdl_ios: HAX: [#827](https://github.com/smartdevicelink/sdl_ios/issues/827) Older versions of Core had a bug where list files would cache incorrectly.
333333
// This led to attempted uploads failing due to the system thinking they were already there when they were not.
334-
if(!file.isPersistent() && !hasUploadedFile(file)){
334+
if (!file.isPersistent() && !hasUploadedFile(file)) {
335335
file.setOverwrite(true);
336336
}
337-
if(!file.isOverwrite() && hasUploadedFile(file)){
337+
if (!file.isOverwrite() && hasUploadedFile(file)) {
338338
Log.w(TAG, "Files that have already uploaded and have an Overwrite property set to false will now upload re-Upload");
339339
listener.onComplete(true);
340340
return;

0 commit comments

Comments
 (0)