From 3f9617c48aac70b5b182f6cb93a9660e5b924b1f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Wed, 4 Jun 2025 03:30:15 +0000 Subject: [PATCH 1/2] Fix duplicate "the" in Javadoc comments Removes occurrences of "the the" in Javadoc comments in the following files: - oauth2_http/java/com/google/auth/oauth2/OAuth2Credentials.java - oauth2_http/java/com/google/auth/oauth2/ServiceAccountJwtAccessCredentials.java - oauth2_http/java/com/google/auth/oauth2/JwtCredentials.java --- oauth2_http/java/com/google/auth/oauth2/JwtCredentials.java | 2 +- oauth2_http/java/com/google/auth/oauth2/OAuth2Credentials.java | 2 +- .../google/auth/oauth2/ServiceAccountJwtAccessCredentials.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/oauth2_http/java/com/google/auth/oauth2/JwtCredentials.java b/oauth2_http/java/com/google/auth/oauth2/JwtCredentials.java index 3c21d31b9..0bf9c537e 100644 --- a/oauth2_http/java/com/google/auth/oauth2/JwtCredentials.java +++ b/oauth2_http/java/com/google/auth/oauth2/JwtCredentials.java @@ -140,7 +140,7 @@ private boolean shouldRefresh() { /** * Returns a copy of these credentials with modified claims. * - * @param newClaims new claims. Any unspecified claim fields default to the the current values. + * @param newClaims new claims. Any unspecified claim fields default to the current values. * @return new credentials */ @Override diff --git a/oauth2_http/java/com/google/auth/oauth2/OAuth2Credentials.java b/oauth2_http/java/com/google/auth/oauth2/OAuth2Credentials.java index 3d569b02f..e7ede2cfa 100644 --- a/oauth2_http/java/com/google/auth/oauth2/OAuth2Credentials.java +++ b/oauth2_http/java/com/google/auth/oauth2/OAuth2Credentials.java @@ -574,7 +574,7 @@ public void onFailure(Throwable throwable) { /** * Result from {@link com.google.auth.oauth2.OAuth2Credentials#getOrCreateRefreshTask()}. * - *
Contains the the refresh task and a flag indicating if the task is newly created. If the + *
Contains the refresh task and a flag indicating if the task is newly created. If the
* task is newly created, it is the caller's responsibility to execute it.
*/
static class AsyncRefreshResult {
diff --git a/oauth2_http/java/com/google/auth/oauth2/ServiceAccountJwtAccessCredentials.java b/oauth2_http/java/com/google/auth/oauth2/ServiceAccountJwtAccessCredentials.java
index 6e2ae2874..f748dd53f 100644
--- a/oauth2_http/java/com/google/auth/oauth2/ServiceAccountJwtAccessCredentials.java
+++ b/oauth2_http/java/com/google/auth/oauth2/ServiceAccountJwtAccessCredentials.java
@@ -336,7 +336,7 @@ public JwtCredentials load(JwtClaims claims) throws Exception {
/**
* Returns a new JwtCredentials instance with modified claims.
*
- * @param newClaims new claims. Any unspecified claim fields will default to the the current
+ * @param newClaims new claims. Any unspecified claim fields will default to the current
* values.
* @return new credentials
*/
From 5e72200d747cc4c7ea6fa5e60f589d5a03809bb0 Mon Sep 17 00:00:00 2001
From: lsirac Contains the refresh task and a flag indicating if the task is newly created. If the
- * task is newly created, it is the caller's responsibility to execute it.
+ * Contains the refresh task and a flag indicating if the task is newly created. If the task is
+ * newly created, it is the caller's responsibility to execute it.
*/
static class AsyncRefreshResult {
private final RefreshTask task;
diff --git a/oauth2_http/java/com/google/auth/oauth2/ServiceAccountJwtAccessCredentials.java b/oauth2_http/java/com/google/auth/oauth2/ServiceAccountJwtAccessCredentials.java
index f748dd53f..1ec2509db 100644
--- a/oauth2_http/java/com/google/auth/oauth2/ServiceAccountJwtAccessCredentials.java
+++ b/oauth2_http/java/com/google/auth/oauth2/ServiceAccountJwtAccessCredentials.java
@@ -336,8 +336,7 @@ public JwtCredentials load(JwtClaims claims) throws Exception {
/**
* Returns a new JwtCredentials instance with modified claims.
*
- * @param newClaims new claims. Any unspecified claim fields will default to the current
- * values.
+ * @param newClaims new claims. Any unspecified claim fields will default to the current values.
* @return new credentials
*/
@Override