1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

Apply CR suggestions

This commit is contained in:
agarcia 2020-07-28 13:56:19 +02:00 committed by Juan Carlos Garrote
parent f699e0ac11
commit eccb12bf98

View File

@ -41,7 +41,8 @@ class OCFileService(override val client: OwnCloudClient) : FileService {
override fun getUrlToOpenInWeb(openWebEndpoint: String, fileId: String): RemoteOperationResult<String> =
GetUrlToOpenInWebRemoteOperation(openWithWebEndpoint = openWebEndpoint, fileId = fileId).execute(client)
override fun refreshFolder(remotePath: String): RemoteOperationResult<ArrayList<RemoteFile>> {
return ReadRemoteFolderOperation(remotePath = remotePath).execute(client)
}
override fun refreshFolder(remotePath: String): RemoteOperationResult<ArrayList<RemoteFile>> =
ReadRemoteFolderOperation(
remotePath = remotePath
).execute(client)
}