Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typos #2292

Merged
merged 1 commit into from
Apr 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public static class AppEngineCredentialWrapper extends GoogleCredential {
* @param transport the transport for Http calls.
* @param jsonFactory the factory for Json parsing and formatting.
* @throws IOException if the credential cannot be created for the current environment, such as
* when the AppIndentityService is not available.
* when the AppIdentityService is not available.
*/
public AppEngineCredentialWrapper(HttpTransport transport, JsonFactory jsonFactory)
throws IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/**
* {@link Beta} <br>
* A {@link TypedNotificationCallback} which uses an JSON content encoding with {@link
* A {@link TypedNotificationCallback} which uses a JSON content encoding with {@link
* GsonFactory#getDefaultInstance()}.
*
* <p>Must NOT be implemented in form of an anonymous class as this will break serialization.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/**
* {@link Beta} <br>
* A {@link TypedNotificationCallback} which uses an JSON content encoding with {@link
* A {@link TypedNotificationCallback} which uses a JSON content encoding with {@link
* GsonFactory#getDefaultInstance()}.
*
* <p>Must NOT be implemented in form of an anonymous class as this will break serialization.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ public class CloudShellCredential extends GoogleCredential {
private static final int READ_TIMEOUT_MS = 5000;

/**
* The Cloud Shell back authorization channel uses serialized Javascript Protobufers, preceeded by
* The Cloud Shell back authorization channel uses serialized Javascript Protobufers, preceded by
* the message lengeth and a new line character. However, the request message has no content, so a
* token request consists of an empty JsPb, and its 2 character lenth prefix.
* token request consists of an empty JsPb, and its 2 character length prefix.
*/
protected static final String GET_AUTH_TOKEN_REQUEST = "2\n[]";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ private boolean useGAEStandardAPI() {
throw OAuth2Utils.exceptionWithCause(
new RuntimeException(
String.format(
"Unexpcted error trying to determine if runnning on Google App Engine: %s",
"Unexpected error trying to determine if running on Google App Engine: %s",
cause.getMessage())),
cause);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public Payload setEmail(String email) {
*
* @since 1.10
* <p>Upgrade warning: in prior version 1.16 this method accessed {@code "verified_email"}
* and returns a boolean, but starting with verison 1.17, it now accesses {@code
* and returns a boolean, but starting with version 1.17, it now accesses {@code
* "email_verified"} and returns a Boolean. Previously, if this value was not specified,
* this method would return {@code false}, but now it returns {@code null}.
*/
Expand All @@ -218,7 +218,7 @@ public Boolean getEmailVerified() {
*
* @since 1.10
* <p>Upgrade warning: in prior version 1.16 this method accessed {@code "verified_email"}
* and required a boolean parameter, but starting with verison 1.17, it now accesses {@code
* and required a boolean parameter, but starting with version 1.17, it now accesses {@code
* "email_verified"} and requires a Boolean parameter.
*/
public Payload setEmailVerified(Boolean emailVerified) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* automatically be refreshed using the refresh token (if applicable).
* </ul>
*
* <p>These are the typical steps of the the browser-based client flow specified in <a
* <p>These are the typical steps of the browser-based client flow specified in <a
* href="https://developers.google.com/identity/protocols/OAuth2UserAgent">Using OAuth 2.0 for
* Client-side Applications</a>:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public enum UploadState {
*/
private boolean disableGZipContent;

/** Sleeper. * */
/** Sleeper. */
Sleeper sleeper = Sleeper.DEFAULT;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public String getClientToken() {
}

/**
* Sets the the arbitrary string provided by the client associated with this subscription that is
* Sets the arbitrary string provided by the client associated with this subscription that is
* delivered to the target address with each notification or {@code null} for none.
*/
public StoredChannel setClientToken(String clientToken) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/**
* {@link Beta} <br>
* A {@link TypedNotificationCallback} which uses an JSON content encoding.
* A {@link TypedNotificationCallback} which uses a JSON content encoding.
*
* <p>Must NOT be implemented in form of an anonymous class as this will break serialization.
*
Expand Down