mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-11 16:33:03 +00:00
Bump several dependencies at the same time
This commit is contained in:
+1
-4
@@ -1,8 +1,6 @@
|
||||
/* ownCloud Android Library is available under MIT license
|
||||
* Copyright (C) 2022 ownCloud GmbH.
|
||||
*
|
||||
* @author David González Verdugo
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
@@ -32,8 +30,7 @@ import com.owncloud.android.lib.resources.status.GetRemoteCapabilitiesOperation
|
||||
import com.owncloud.android.lib.resources.status.RemoteCapability
|
||||
import com.owncloud.android.lib.resources.status.services.CapabilityService
|
||||
|
||||
class OCCapabilityService(override val client: OwnCloudClient) :
|
||||
CapabilityService {
|
||||
class OCCapabilityService(override val client: OwnCloudClient) : CapabilityService {
|
||||
override fun getCapabilities(): RemoteOperationResult<RemoteCapability> =
|
||||
GetRemoteCapabilitiesOperation().execute(client)
|
||||
}
|
||||
|
||||
+3
-6
@@ -1,8 +1,6 @@
|
||||
/* ownCloud Android Library is available under MIT license
|
||||
* Copyright (C) 2022 ownCloud GmbH.
|
||||
*
|
||||
* @author Abel García de Prada
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
@@ -26,7 +24,6 @@
|
||||
|
||||
package com.owncloud.android.lib.resources.status.services.implementation
|
||||
|
||||
|
||||
import com.owncloud.android.lib.common.OwnCloudClient
|
||||
import com.owncloud.android.lib.common.operations.RemoteOperationResult
|
||||
import com.owncloud.android.lib.resources.files.CheckPathExistenceRemoteOperation
|
||||
@@ -39,16 +36,16 @@ class OCServerInfoService : ServerInfoService {
|
||||
override fun checkPathExistence(
|
||||
path: String,
|
||||
isUserLoggedIn: Boolean,
|
||||
client: OwnCloudClient
|
||||
client: OwnCloudClient,
|
||||
): RemoteOperationResult<Boolean> =
|
||||
CheckPathExistenceRemoteOperation(
|
||||
remotePath = path,
|
||||
isUserLoggedIn = true
|
||||
isUserLoggedIn = true,
|
||||
).execute(client)
|
||||
|
||||
override fun getRemoteStatus(
|
||||
path: String,
|
||||
client: OwnCloudClient
|
||||
client: OwnCloudClient,
|
||||
): RemoteOperationResult<RemoteServerInfo> =
|
||||
GetRemoteStatusOperation().execute(client)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user