From eccb12bf980294b8ed55886f947b63646be47de4 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 | 7 ++++--- 1 file changed, 4 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 dee92cfb..7861f57f 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 @@ -41,7 +41,8 @@ class OCFileService(override val client: OwnCloudClient) : FileService { override fun getUrlToOpenInWeb(openWebEndpoint: String, fileId: String): RemoteOperationResult = GetUrlToOpenInWebRemoteOperation(openWithWebEndpoint = openWebEndpoint, fileId = fileId).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) }