From 7b840c32643b093adc316aec93ed23d80cb869c5 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Fri, 6 Feb 2015 09:38:46 +1100 Subject: [PATCH] oauth2: Remove what appears to be an out of date comment. TokenRefresher with that capitalization is not a symbol, and SetToken doesn't occur anywhere in the package as far as I can tell. Change-Id: If61f059ed8bb1ca21e27aa99669e542160747fe7 Reviewed-on: https://go-review.googlesource.com/3958 Reviewed-by: Brad Fitzpatrick --- oauth2.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/oauth2.go b/oauth2.go index c05dd68..59e8fd0 100644 --- a/oauth2.go +++ b/oauth2.go @@ -244,8 +244,6 @@ func (tf tokenRefresher) Token() (*Token, error) { // and validates its expiry before each call to retrieve it with // Token. If it's expired, it will be auto-refreshed using the // new TokenSource. -// -// The first call to TokenRefresher must be SetToken. type reuseTokenSource struct { new TokenSource // called when t is expired.