GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix typo in ComputeEngineCredentials exception message by yelsayd · Pull Request #313 · googleapis/google-auth-library-java

This repository was archived by the owner on May 12, 2026. It is now read-only.

Conversation

@yelsayd

@yelsayd yelsayd commented Jul 30, 2019

Copy link
Copy Markdown
Contributor

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Yasser Elsayed
Typo fix
a9c6444
@yelsayd
yelsayd requested a review from a team July 30, 2019 18:16
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 30, 2019
elharo
elharo approved these changes Jul 30, 2019
View reviewed changes

@elharo elharo left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

The typo fix makes sense, though looking at this code now I strongly suspect this is not something we should be doing. That exception should not be wrapped and definitely not into a runtime exception.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 30, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 30, 2019
@chingor13 chingor13 changed the title Typo fix fix: typo in ComputeEngineCredentials exception message Jul 30, 2019
chingor13
chingor13 suggested changes Jul 30, 2019
View reviewed changes

@chingor13 chingor13 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks for submitting this!

Our test also appears to be validating the error message with the typo. Can you update the test cases as well?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Yasser Elsayed
Update ComputeEngineCredentialsTest.java
5ebdd54
@yelsayd

yelsayd commented Jul 31, 2019

Copy link
Copy Markdown
Contributor Author

Done.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yelsayd yelsayd changed the title fix: typo in ComputeEngineCredentials exception message Fix typo in ComputeEngineCredentials exception message Jul 31, 2019
@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 31, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 31, 2019
chingor13
chingor13 suggested changes Jul 31, 2019
View reviewed changes

@chingor13 chingor13 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Sorry, there's one more failed test

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Yasser Elsayed
Update ComputeEngineCredentialsTest.java
3d6f119
@yelsayd

yelsayd commented Jul 31, 2019

Copy link
Copy Markdown
Contributor Author

Done. Editing code on Github... :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 31, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jul 31, 2019
@codecov

codecov Bot commented Jul 31, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Codecov Report

Merging #313 into master will increase coverage by 0.55%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #313      +/-   ##
============================================
+ Coverage     78.42%   78.98%   +0.55%     
  Complexity      336      336              
============================================
  Files            22       22              
  Lines          1460     1513      +53     
  Branches        158      158              
============================================
+ Hits           1145     1195      +50     
- Misses          237      240       +3     
  Partials         78       78
Impacted Files Coverage Δ Complexity Δ
...m/google/auth/oauth2/ComputeEngineCredentials.java 83.89% <ø> (+1.99%) 25 <0> (ø) ⬇️
...uth/oauth2/ServiceAccountJwtAccessCredentials.java 73.75% <0%> (-0.88%) 36% <0%> (ø)
...google/auth/oauth2/DefaultCredentialsProvider.java 79.16% <0%> (-0.66%) 33% <0%> (ø)
...java/com/google/auth/oauth2/GoogleCredentials.java 57.89% <0%> (-0.44%) 8% <0%> (ø)
...p/java/com/google/auth/oauth2/UserCredentials.java 80.95% <0%> (-0.35%) 28% <0%> (ø)
...a/com/google/auth/oauth2/AppEngineCredentials.java 84.74% <0%> (-0.26%) 15% <0%> (ø)
.../google/auth/oauth2/ServiceAccountCredentials.java 84.21% <0%> (-0.03%) 44% <0%> (ø)
...va/com/google/auth/oauth2/MemoryTokensStorage.java 100% <0%> (ø) 4% <0%> (ø) ⬇️
...a/com/google/auth/http/HttpCredentialsAdapter.java 67.44% <0%> (ø) 8% <0%> (ø) ⬇️
credentials/java/com/google/auth/Credentials.java 0% <0%> (ø) 0% <0%> (ø) ⬇️
... and 12 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2815eb9...3d6f119. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

chingor13
chingor13 approved these changes Jul 31, 2019
View reviewed changes

@chingor13 chingor13 left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@chingor13
chingor13 merged commit 1a16f38 into googleapis:master Jul 31, 2019
@release-please release-please Bot mentioned this pull request Jan 4, 2022
chore(main): release google-auth-library-java 1.0.0 #819
Closed
@release-please release-please Bot mentioned this pull request Aug 11, 2022
chore(main): release 1.11.0 #974
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers
@chingor13 chingor13 chingor13 approved these changes
@elharo elharo elharo approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@yelsayd @chingor13 @elharo @googlebot @kokoro-team
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.