소스 검색

format code

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 4 년 전
부모
커밋
9e2920b2dc

+ 1 - 1
src/main/java/com/owncloud/android/files/services/FileDownloader.java

@@ -623,7 +623,7 @@ public class FileDownloader extends Service
         }
 
         if (!downloadResult.isCancelled()) {
-            if(downloadResult.isSuccess()){
+            if (downloadResult.isSuccess()) {
                 // Dont show notification except an error has occured.
                 return;
             }

+ 1 - 1
src/main/java/com/owncloud/android/files/services/FileUploader.java

@@ -827,7 +827,7 @@ public class FileUploader extends Service
             }
 
             mNotificationBuilder.setContentText(content);
-            if(!uploadResult.isSuccess()){
+            if (!uploadResult.isSuccess()) {
                 mNotificationManager.notify((new SecureRandom()).nextInt(), mNotificationBuilder.build());
             }