From e18fb2956e494fee6af8fe844334857058f1f629 Mon Sep 17 00:00:00 2001 From: agarcia Date: Tue, 28 Jul 2020 13:56:19 +0200 Subject: [PATCH] Apply CR suggestions --- .../files/services/implementation/OCFileService.kt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/services/implementation/OCFileService.kt b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/services/implementation/OCFileService.kt index a532600f..ee69f8c2 100644 --- a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/services/implementation/OCFileService.kt +++ b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/services/implementation/OCFileService.kt @@ -37,7 +37,9 @@ class OCFileService(override val client: OwnCloudClient) : FileService { isUserLoggedIn = isUserLogged ).execute(client) - override fun refreshFolder(remotePath: String): RemoteOperationResult> { - return ReadRemoteFolderOperation(remotePath = remotePath).execute(client) - } + override fun refreshFolder(remotePath: String): RemoteOperationResult> = + ReadRemoteFolderOperation( + remotePath = remotePath + ).execute(client) + }