From b79383d13149518e60683c0ebe9d015d2b493a48 Mon Sep 17 00:00:00 2001 From: masensio Date: Fri, 17 Jan 2014 14:25:38 +0100 Subject: [PATCH] OC-2633: Fixes for comments in code. PR #347 --- .../oc_framework/accounts/AccountUtils.java | 27 ++----------------- 1 file changed, 2 insertions(+), 25 deletions(-) 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 20e5b0781e..72946dcb9d 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