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 <bradfitz@golang.org>
This commit is contained in:
Aaron Jacobs 2015-02-06 09:38:46 +11:00 committed by Brad Fitzpatrick
parent 53c5ae1b31
commit 7b840c3264

View File

@ -244,8 +244,6 @@ func (tf tokenRefresher) Token() (*Token, error) {
// and validates its expiry before each call to retrieve it with // and validates its expiry before each call to retrieve it with
// Token. If it's expired, it will be auto-refreshed using the // Token. If it's expired, it will be auto-refreshed using the
// new TokenSource. // new TokenSource.
//
// The first call to TokenRefresher must be SetToken.
type reuseTokenSource struct { type reuseTokenSource struct {
new TokenSource // called when t is expired. new TokenSource // called when t is expired.