From: masensio Date: Fri, 17 Jan 2014 13:25:38 +0000 (+0100) Subject: OC-2633: Fixes for comments in code. PR #347 X-Git-Tag: oc-android-1.5.5~73^2~2 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/b79383d13149518e60683c0ebe9d015d2b493a48?ds=inline;hp=-c OC-2633: Fixes for comments in code. PR #347 --- b79383d13149518e60683c0ebe9d015d2b493a48 diff --git a/oc_framework/src/com/owncloud/android/oc_framework/accounts/AccountUtils.java b/oc_framework/src/com/owncloud/android/oc_framework/accounts/AccountUtils.java index 20e5b078..72946dcb 100644 --- a/oc_framework/src/com/owncloud/android/oc_framework/accounts/AccountUtils.java +++ b/oc_framework/src/com/owncloud/android/oc_framework/accounts/AccountUtils.java @@ -24,7 +24,6 @@ import android.accounts.Account; import android.accounts.AccountManager; import android.accounts.AccountsException; import android.content.Context; -import android.net.Uri; public class AccountUtils { public static final String WEBDAV_PATH_1_2 = "/webdav/owncloud.php"; @@ -35,9 +34,6 @@ public class AccountUtils { public static final String CARDDAV_PATH_2_0 = "/apps/contacts/carddav.php"; public static final String CARDDAV_PATH_4_0 = "/remote/carddav.php"; public static final String STATUS_PATH = "/status.php"; - - // Key for UserName in Saml Cookie - private static final String KEY_OC_USERNAME_EQUALS = "oc_username="; /** * @@ -115,8 +111,8 @@ public class AccountUtils { public static class AccountNotFoundException extends AccountsException { - /** Generated - should be refreshed every time the class changes!! */ - private static final long serialVersionUID = -9013287181793186830L; + /** Generated - should be refreshed every time the class changes!! */ + private static final long serialVersionUID = -1684392454798508693L; private Account mFailedAccount; @@ -129,23 +125,4 @@ public class AccountUtils { return mFailedAccount; } } - - /** - * Get the UserName for the SamlSso cookie - * @param authToken - * @return userName - */ - public static String getUserNameForSamlSso(String authToken) { - if (authToken != null) { - String [] cookies = authToken.split(";"); - for (int i=0; i