mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Make "throws" clause use IOException
Now that we've updated the oauth java6 package in the open source build, we can safely replace "Exception" with "IOException" in the throws clause of the method that calls AuthorizationCodeInstalledApp.authorize(). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=156057190
This commit is contained in:
parent
fc5546ad58
commit
5ff56ac7a0
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ public class AuthModule {
|
||||||
/** Initiate the login flow. */
|
/** Initiate the login flow. */
|
||||||
public static void login(
|
public static void login(
|
||||||
GoogleAuthorizationCodeFlow flow,
|
GoogleAuthorizationCodeFlow flow,
|
||||||
@ClientScopeQualifier String clientScopeQualifier) throws Exception {
|
@ClientScopeQualifier String clientScopeQualifier) throws IOException {
|
||||||
new AuthorizationCodeInstalledApp(flow, new LocalServerReceiver())
|
new AuthorizationCodeInstalledApp(flow, new LocalServerReceiver())
|
||||||
.authorize(clientScopeQualifier);
|
.authorize(clientScopeQualifier);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue