Skip to content

Commit d56c428

Browse files
wip
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
1 parent e7685aa commit d56c428

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Diff for: library/src/main/java/com/nextcloud/common/NextcloudClient.kt

+1-10
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ import com.owncloud.android.lib.common.accounts.AccountUtils
3838
import com.owncloud.android.lib.common.network.AdvancedX509TrustManager
3939
import com.owncloud.android.lib.common.network.NetworkUtils
4040
import com.owncloud.android.lib.common.network.RedirectionPath
41-
import com.owncloud.android.lib.common.network.WebdavUtils
4241
import com.owncloud.android.lib.common.operations.RemoteOperation
4342
import com.owncloud.android.lib.common.operations.RemoteOperationResult
4443
import com.owncloud.android.lib.common.utils.Log_OC
@@ -55,7 +54,7 @@ import javax.net.ssl.TrustManager
5554
class NextcloudClient private constructor(
5655
val delegate: NextcloudUriDelegate,
5756
var credentials: String,
58-
val client: OkHttpClient,
57+
var client: OkHttpClient,
5958
) : NextcloudUriProvider by delegate {
6059
var followRedirects = true
6160

@@ -193,12 +192,4 @@ class NextcloudClient private constructor(
193192
fun getUserIdPlain(): String {
194193
return delegate.userId!!
195194
}
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-
}
204195
}

0 commit comments

Comments
 (0)