> @Provides
> - @Singleton
> - public LoadingCache<TokenRequest, Token>
> provideAccessCache(Function<TokenRequest, Token> getAccess,
> -
> @Named(PROPERTY_SESSION_INTERVAL) long expirationSeconds) {
> - // since the session interval is also the token expiration time
> requested to the server make the token expire a
> - // bit before the deadline to make sure there aren't session
> expiration exceptions
> - expirationSeconds = expirationSeconds > 30 ? expirationSeconds - 30 :
> expirationSeconds;
[minor] Any reason we're using javax.inject.Named here?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/96/files#r20533522