Skip to content

Conversation

chingor13
Copy link
Contributor

Fixes #5

@chingor13 chingor13 requested a review from a team as a code owner December 19, 2018 22:44
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 19, 2018
@chingor13 chingor13 merged commit 9f40bc7 into googleapis:master Dec 28, 2018
@chingor13 chingor13 deleted the overload-create-scoped branch December 28, 2018 18:45
* @return GoogleCredentials with requested scopes.
*/
public GoogleCredentials createScoped(String... scopes) {
return createScoped(scopes);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this will just call itself, eventually resulting in a stack overflow.

Perhaps this should be:

return createScoped(ImmutableList.copyOf(scopes));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants