瀏覽代碼

remove exception

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 6 年之前
父節點
當前提交
ca362c250d
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java

+ 0 - 3
src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java

@@ -573,9 +573,6 @@ public class AuthenticatorActivity extends AccountAuthenticatorActivity
             } else if (value.startsWith("server" + LOGIN_URL_DATA_KEY_VALUE_SEPARATOR)) {
                 loginUrlInfo.serverAddress = URLDecoder.decode(
                         value.substring(("server" + LOGIN_URL_DATA_KEY_VALUE_SEPARATOR).length()));
-            } else {
-                // error illegal URL element detected
-                throw new IllegalArgumentException("Illegal magic login URL element detected: " + value);
             }
         }