File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
library/src/main/java/com/owncloud/android/lib/resources/tags Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -12,16 +12,14 @@ import com.nextcloud.operations.PutMethod
1212import com.owncloud.android.lib.common.operations.RemoteOperation
1313import com.owncloud.android.lib.common.operations.RemoteOperationResult
1414import okhttp3.RequestBody
15- import okhttp3.RequestBody.Companion.toRequestBody
16- import okhttp3.internal.EMPTY_BYTE_ARRAY
1715import org.apache.commons.httpclient.HttpStatus
1816
1917class PutTagRemoteOperation (
2018 val id : String ,
2119 val fileId : Long
2220) : RemoteOperation<Void>() {
2321 override fun run (client : NextcloudClient ): RemoteOperationResult <Void > {
24- val empty: RequestBody = EMPTY_BYTE_ARRAY .toRequestBody()
22+ val empty: RequestBody = RequestBody . EMPTY
2523 val putMethod =
2624 PutMethod (
2725 client.baseUri.toString() + TAG_URL + fileId + " /" + id,
You can’t perform that action at this time.
0 commit comments