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

Commit 4f3e167

Browse files
committed
fix spelling mistakes
1 parent fc8440c commit 4f3e167

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,18 @@ import java.util.concurrent.TimeUnit
4444
* @author Abel García de Prada
4545
*
4646
* @param remotePath Path to append to the URL owned by the client instance.
47-
* @param isUserLogged When `true`, the username won't be added at the end of the PROPFIND url since is not
47+
* @param isUserLoggedIn When `true`, the username won't be added at the end of the PROPFIND url since is not
4848
* needed to check user credentials
4949
*/
5050
class CheckPathExistenceRemoteOperation(
5151
val remotePath: String? = "",
52-
val isUserLogged: Boolean
52+
val isUserLoggedIn: Boolean
5353
) : RemoteOperation<Boolean>() {
5454

5555
override fun run(client: OwnCloudClient): RemoteOperationResult<Boolean> {
5656
return try {
5757
val stringUrl =
58-
if (isUserLogged) client.baseFilesWebDavUri.toString()
58+
if (isUserLoggedIn) client.baseFilesWebDavUri.toString()
5959
else client.userFilesWebDavUri.toString() + WebdavUtils.encodePath(remotePath)
6060

6161
val propFindMethod = PropfindMethod(URL(stringUrl), 0, allPropset).apply {

owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/files/services/implementation/OCFileService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ class OCFileService(override val client: OwnCloudClient) :
3333
override fun checkPathExistence(path: String, isUserLogged: Boolean): RemoteOperationResult<Boolean> =
3434
CheckPathExistenceRemoteOperation(
3535
remotePath = path,
36-
isUserLogged = isUserLogged
36+
isUserLoggedIn = isUserLogged
3737
).execute(client)
3838
}

owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/status/services/implementation/OCServerInfoService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class OCServerInfoService : ServerInfoService {
4242
): RemoteOperationResult<Boolean> =
4343
CheckPathExistenceRemoteOperation(
4444
remotePath = path,
45-
isUserLogged = true
45+
isUserLoggedIn = true
4646
).execute(client)
4747

4848
override fun getRemoteStatus(

0 commit comments

Comments
 (0)