Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(320)

Issue 95650043: Default Credential: Improve error messages for Compute Engine. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by Anthony Moore
Modified:
12 years, 4 months ago
Reviewers:
beaton, Orest
CC:
wonderfly
Base URL:
https://code.google.com/p/google-api-java-client/
Visibility:
Public.

Description

Default Credential: Improve error messages for Compute Engine.

Patch Set 1 #

Total comments: 6

Patch Set 2 : Applied all comments. #

Messages

Total messages: 4
Anthony Moore
12 years, 4 months ago (2014-05-28 19:39:09 UTC) #1
Orest
LGTM https://codereview.appspot.com/95650043/diff/1/google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/DefaultCredentialProvider.java File google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/DefaultCredentialProvider.java (right): https://codereview.appspot.com/95650043/diff/1/google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/DefaultCredentialProvider.java#newcode243 google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/DefaultCredentialProvider.java:243: Do we need the new line here? https://codereview.appspot.com/95650043/diff/1/google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/OAuth2Utils.java ...
12 years, 4 months ago (2014-05-28 21:54:00 UTC) #2
beaton
LGTM
12 years, 4 months ago (2014-05-30 21:16:12 UTC) #3
Anthony Moore
12 years, 4 months ago (2014-06-05 18:07:30 UTC) #4
Applied all comments.

https://codereview.appspot.com/95650043/diff/1/google-api-client/src/main/jav...
File
google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/DefaultCredentialProvider.java
(right):

https://codereview.appspot.com/95650043/diff/1/google-api-client/src/main/jav...
google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/DefaultCredentialProvider.java:243:

On 2014/05/28 21:54:00, Orest wrote:
> Do we need the new line here?

Done.

https://codereview.appspot.com/95650043/diff/1/google-api-client/src/main/jav...
File
google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/OAuth2Utils.java
(right):

https://codereview.appspot.com/95650043/diff/1/google-api-client/src/main/jav...
google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/OAuth2Utils.java:66:
catch (IOException exception) {
On 2014/05/28 21:54:00, Orest wrote:
> Please move this line at the end of the previous line.

Done.

https://codereview.appspot.com/95650043/diff/1/google-api-client/src/test/jav...
File
google-api-client/src/test/java/com/google/api/client/googleapis/auth/oauth2/DefaultCredentialProviderTest.java
(right):

https://codereview.appspot.com/95650043/diff/1/google-api-client/src/test/jav...
google-api-client/src/test/java/com/google/api/client/googleapis/auth/oauth2/DefaultCredentialProviderTest.java:132:
final String ACCESS_TOKEN =
"ya29.AHES6ZRN3-HlhAPya30GnW_bHSb_QtAS08i85nHq39HE3C2LTrCARA";
On 2014/05/28 21:54:00, Orest wrote:
> Maybe push ACCESS_TOKEN as a constant at the class level, since it is used in
so
> many places?

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b