@@ -0,0 +1,962 @@
+package com.sharefile.api;%0A%0Aimport com.sharefile.api.authentication.SFOAuth2Token;%0Aimport com.sharefile.java.log.SLog;%0A%0Aimport java.util.Hashtable;%0A%0Apublic class OAuthTokensCache %7B%0A    public static final String TAG = %22OauthTokensCache%22;%0A%0A    public static OAuthTokensCache instance = null;%0A    public static synchronized OAuthTokensCache getInstance() %7B%0A        if ( instance==null ) instance = new OAuthTokensCache();%0A        return instance;%0A    %7D%0A%0A    private Hashtable%3CString, SFOAuth2Token%3E tokens = new Hashtable%3CString, SFOAuth2Token%3E();%0A    public SFOAuth2Token get(String userId) %7B%0A        SLog.v(TAG, %22Get access token for: %22 + userId);%0A        return tokens.get(userId);%0A    %7D%0A%0A    public void set(String userId, SFOAuth2Token token) %7B%0A        if ( userId==null %7C%7C userId.isEmpty() %7C%7C token==null ) %7B%0A            // ...%0A            return;%0A        %7D%0A%0A        SLog.d(TAG, %22Set access token for: %22 + userId);%0A        tokens.put(userId, token);%0A    %7D%0A%7D%0A

fix case