File tree 1 file changed +1
-10
lines changed
library/src/main/java/com/nextcloud/common
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ import com.owncloud.android.lib.common.accounts.AccountUtils
38
38
import com.owncloud.android.lib.common.network.AdvancedX509TrustManager
39
39
import com.owncloud.android.lib.common.network.NetworkUtils
40
40
import com.owncloud.android.lib.common.network.RedirectionPath
41
- import com.owncloud.android.lib.common.network.WebdavUtils
42
41
import com.owncloud.android.lib.common.operations.RemoteOperation
43
42
import com.owncloud.android.lib.common.operations.RemoteOperationResult
44
43
import com.owncloud.android.lib.common.utils.Log_OC
@@ -55,7 +54,7 @@ import javax.net.ssl.TrustManager
55
54
class NextcloudClient private constructor(
56
55
val delegate : NextcloudUriDelegate ,
57
56
var credentials : String ,
58
- val client : OkHttpClient ,
57
+ var client : OkHttpClient ,
59
58
) : NextcloudUriProvider by delegate {
60
59
var followRedirects = true
61
60
@@ -193,12 +192,4 @@ class NextcloudClient private constructor(
193
192
fun getUserIdPlain (): String {
194
193
return delegate.userId!!
195
194
}
196
-
197
- fun getFilesDavUri (path : String ): String {
198
- return getDavUri().toString() + " /files/" + userId + " /" + WebdavUtils .encodePath(path)
199
- }
200
-
201
- fun getDavUri (): Uri {
202
- return Uri .parse(baseUri.toString() + AccountUtils .WEBDAV_PATH_9_0 )
203
- }
204
195
}
You can’t perform that action at this time.
0 commit comments