This repository was archived by the owner on Mar 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed
owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,6 @@ package com.owncloud.android.lib.resources.files.services
26
26
import com.owncloud.android.lib.common.operations.RemoteOperationResult
27
27
import com.owncloud.android.lib.resources.Service
28
28
29
- interface FileService : Service {
29
+ interface FileService : Service {
30
30
fun checkPathExistence (path : String , isUserLogged : Boolean ): RemoteOperationResult <Boolean >
31
31
}
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ import com.owncloud.android.lib.common.operations.RemoteOperationResult.ResultCo
31
31
import com.owncloud.android.lib.resources.status.HttpScheme.HTTPS_PREFIX
32
32
import com.owncloud.android.lib.resources.status.HttpScheme.HTTP_PREFIX
33
33
import com.owncloud.android.lib.resources.status.HttpScheme.HTTP_SCHEME
34
- import okhttp3.HttpUrl.Companion.toHttpUrl
35
34
import org.json.JSONException
36
35
import timber.log.Timber
37
36
Original file line number Diff line number Diff line change @@ -24,6 +24,6 @@ import com.owncloud.android.lib.common.operations.RemoteOperationResult
24
24
import com.owncloud.android.lib.resources.Service
25
25
import com.owncloud.android.lib.resources.status.RemoteCapability
26
26
27
- interface CapabilityService : Service {
28
- fun getCapabilities () : RemoteOperationResult <RemoteCapability >
27
+ interface CapabilityService : Service {
28
+ fun getCapabilities (): RemoteOperationResult <RemoteCapability >
29
29
}
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class GetRemoteUserAvatarOperation(private val avatarDimension: Int) : RemoteOpe
70
70
71
71
// / download will be performed to a buffer
72
72
inputStream = getMethod.getResponseBodyAsStream()
73
- val bytesArray = inputStream?.readBytes()? : byteArrayOf()
73
+ val bytesArray = inputStream?.readBytes() ? : byteArrayOf()
74
74
75
75
// TODO check total bytes transferred?
76
76
Timber .d(" Avatar size: Bytes received ${bytesArray.size} of $contentLength " )
You can’t perform that action at this time.
0 commit comments