mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-11 08:22:56 +00:00
Fix to KtLint report
This commit is contained in:
+2
-3
@@ -54,9 +54,8 @@ class CheckPathExistenceRemoteOperation(
|
|||||||
) : RemoteOperation<Boolean>() {
|
) : RemoteOperation<Boolean>() {
|
||||||
|
|
||||||
override fun run(client: OwnCloudClient): RemoteOperationResult<Boolean> {
|
override fun run(client: OwnCloudClient): RemoteOperationResult<Boolean> {
|
||||||
val baseStringUrl = spaceWebDavUrl ?:
|
val baseStringUrl = spaceWebDavUrl ?: if (isUserLoggedIn) client.baseFilesWebDavUri.toString()
|
||||||
if (isUserLoggedIn) client.baseFilesWebDavUri.toString()
|
else client.userFilesWebDavUri.toString()
|
||||||
else client.userFilesWebDavUri.toString()
|
|
||||||
val stringUrl = baseStringUrl + WebdavUtils.encodePath(remotePath)
|
val stringUrl = baseStringUrl + WebdavUtils.encodePath(remotePath)
|
||||||
|
|
||||||
return try {
|
return try {
|
||||||
|
|||||||
Reference in New Issue
Block a user