public static String getToken(Bundle bundle) {
        Validate.notNull(bundle, "bundle");
        return bundle.getString(TOKEN_KEY);
    }
public static String getToken ( Bundle bundle ) { Validate . notNull ( bundle , "bundle" ) ; return bundle . getString ( TOKEN_KEY ) ; }
Gets the cached token value from a Bundle.

@param bundle
A Bundle in which the token value was stored.
@return the cached token value, or null.

@throws NullPointerException if the passed in Bundle is null