Skip to content

Commit 26bec5b

Browse files
authored
chore: fix typos (#2292)
1 parent f0ac921 commit 26bec5b

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

google-api-client-appengine/src/main/java/com/google/api/client/googleapis/extensions/appengine/auth/oauth2/AppIdentityCredential.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public static class AppEngineCredentialWrapper extends GoogleCredential {
194194
* @param transport the transport for Http calls.
195195
* @param jsonFactory the factory for Json parsing and formatting.
196196
* @throws IOException if the credential cannot be created for the current environment, such as
197-
* when the AppIndentityService is not available.
197+
* when the AppIdentityService is not available.
198198
*/
199199
public AppEngineCredentialWrapper(HttpTransport transport, JsonFactory jsonFactory)
200200
throws IOException {

google-api-client-gson/src/main/java/com/google/api/client/googleapis/notifications/json/gson/GsonNotificationCallback.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/**
2424
* {@link Beta} <br>
25-
* A {@link TypedNotificationCallback} which uses an JSON content encoding with {@link
25+
* A {@link TypedNotificationCallback} which uses a JSON content encoding with {@link
2626
* GsonFactory#getDefaultInstance()}.
2727
*
2828
* <p>Must NOT be implemented in form of an anonymous class as this will break serialization.

google-api-client-jackson2/src/main/java/com/google/api/client/googleapis/notifications/json/jackson2/JacksonNotificationCallback.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/**
2424
* {@link Beta} <br>
25-
* A {@link TypedNotificationCallback} which uses an JSON content encoding with {@link
25+
* A {@link TypedNotificationCallback} which uses a JSON content encoding with {@link
2626
* GsonFactory#getDefaultInstance()}.
2727
*
2828
* <p>Must NOT be implemented in form of an anonymous class as this will break serialization.

google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/CloudShellCredential.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ public class CloudShellCredential extends GoogleCredential {
5656
private static final int READ_TIMEOUT_MS = 5000;
5757

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

google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/DefaultCredentialProvider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ private boolean useGAEStandardAPI() {
294294
throw OAuth2Utils.exceptionWithCause(
295295
new RuntimeException(
296296
String.format(
297-
"Unexpcted error trying to determine if runnning on Google App Engine: %s",
297+
"Unexpected error trying to determine if running on Google App Engine: %s",
298298
cause.getMessage())),
299299
cause);
300300
}

google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/GoogleIdToken.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public Payload setEmail(String email) {
195195
*
196196
* @since 1.10
197197
* <p>Upgrade warning: in prior version 1.16 this method accessed {@code "verified_email"}
198-
* and returns a boolean, but starting with verison 1.17, it now accesses {@code
198+
* and returns a boolean, but starting with version 1.17, it now accesses {@code
199199
* "email_verified"} and returns a Boolean. Previously, if this value was not specified,
200200
* this method would return {@code false}, but now it returns {@code null}.
201201
*/
@@ -218,7 +218,7 @@ public Boolean getEmailVerified() {
218218
*
219219
* @since 1.10
220220
* <p>Upgrade warning: in prior version 1.16 this method accessed {@code "verified_email"}
221-
* and required a boolean parameter, but starting with verison 1.17, it now accesses {@code
221+
* and required a boolean parameter, but starting with version 1.17, it now accesses {@code
222222
* "email_verified"} and requires a Boolean parameter.
223223
*/
224224
public Payload setEmailVerified(Boolean emailVerified) {

google-api-client/src/main/java/com/google/api/client/googleapis/auth/oauth2/package-info.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* automatically be refreshed using the refresh token (if applicable).
4141
* </ul>
4242
*
43-
* <p>These are the typical steps of the the browser-based client flow specified in <a
43+
* <p>These are the typical steps of the browser-based client flow specified in <a
4444
* href="https://developers.google.com/identity/protocols/OAuth2UserAgent">Using OAuth 2.0 for
4545
* Client-side Applications</a>:
4646
*

google-api-client/src/main/java/com/google/api/client/googleapis/media/MediaHttpUploader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public enum UploadState {
235235
*/
236236
private boolean disableGZipContent;
237237

238-
/** Sleeper. * */
238+
/** Sleeper. */
239239
Sleeper sleeper = Sleeper.DEFAULT;
240240

241241
/**

google-api-client/src/main/java/com/google/api/client/googleapis/notifications/StoredChannel.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public String getClientToken() {
148148
}
149149

150150
/**
151-
* Sets the the arbitrary string provided by the client associated with this subscription that is
151+
* Sets the arbitrary string provided by the client associated with this subscription that is
152152
* delivered to the target address with each notification or {@code null} for none.
153153
*/
154154
public StoredChannel setClientToken(String clientToken) {

google-api-client/src/main/java/com/google/api/client/googleapis/notifications/json/JsonNotificationCallback.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/**
2424
* {@link Beta} <br>
25-
* A {@link TypedNotificationCallback} which uses an JSON content encoding.
25+
* A {@link TypedNotificationCallback} which uses a JSON content encoding.
2626
*
2727
* <p>Must NOT be implemented in form of an anonymous class as this will break serialization.
2828
*

0 commit comments

Comments
 (0)