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) }