Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 2458db1

Browse files
committed
Fix to KtLint report
1 parent e6f3fd2 commit 2458db1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/CheckPathExistenceRemoteOperation.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,8 @@ class CheckPathExistenceRemoteOperation(
5454
) : RemoteOperation<Boolean>() {
5555

5656
override fun run(client: OwnCloudClient): RemoteOperationResult<Boolean> {
57-
val baseStringUrl = spaceWebDavUrl ?:
58-
if (isUserLoggedIn) client.baseFilesWebDavUri.toString()
59-
else client.userFilesWebDavUri.toString()
57+
val baseStringUrl = spaceWebDavUrl ?: if (isUserLoggedIn) client.baseFilesWebDavUri.toString()
58+
else client.userFilesWebDavUri.toString()
6059
val stringUrl = baseStringUrl + WebdavUtils.encodePath(remotePath)
6160

6261
return try {

0 commit comments

Comments
 (0)