Browse Source

Merge commit '833720261b9419803197674a5a9fa679ecdf5dee'

drone 5 years ago
parent
commit
aa95964058

+ 0 - 17
src/main/java/com/owncloud/android/authentication/AuthenticatorUrlUtils.java

@@ -21,11 +21,8 @@
 
 
 package com.owncloud.android.authentication;
 package com.owncloud.android.authentication;
 
 
-import android.content.Context;
 import android.text.TextUtils;
 import android.text.TextUtils;
 
 
-import com.owncloud.android.lib.resources.status.OwnCloudVersion;
-
 import java.util.Locale;
 import java.util.Locale;
 
 
 /**
 /**
@@ -40,20 +37,6 @@ public final class AuthenticatorUrlUtils {
     private AuthenticatorUrlUtils() {
     private AuthenticatorUrlUtils() {
     }
     }
 
 
-    /**
-     * Returns the proper URL path to access the WebDAV interface of an ownCloud server,
-     * according to its version and the authorization method used.
-     *
-     * @param   version         Version of ownCloud server.
-     * @param   authTokenType   Authorization token type, matching some of the AUTH_TOKEN_TYPE_* constants in
-     *                          {@link AccountAuthenticator}.
-     * @return                  WebDAV path for given OC version and authorization method, null if OC version
-     *                          is unknown; versions prior to ownCloud 4 are not supported anymore
-     */
-    public static String getWebdavPath(OwnCloudVersion version, String authTokenType, Context context) {
-            return WEBDAV_PATH_4_0_AND_LATER;
-    }
-
     public static String normalizeUrlSuffix(String url) {
     public static String normalizeUrlSuffix(String url) {
         String normalizedUrl = url;
         String normalizedUrl = url;
         if (normalizedUrl.endsWith("/")) {
         if (normalizedUrl.endsWith("/")) {