Skip to content

Commit 5f7a084

Browse files
authored
docs: duplicate "the" in Javadoc comments (#1764)
* 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 * fix format
1 parent 3058b06 commit 5f7a084

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

oauth2_http/java/com/google/auth/oauth2/JwtCredentials.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ private boolean shouldRefresh() {
140140
/**
141141
* Returns a copy of these credentials with modified claims.
142142
*
143-
* @param newClaims new claims. Any unspecified claim fields default to the the current values.
143+
* @param newClaims new claims. Any unspecified claim fields default to the current values.
144144
* @return new credentials
145145
*/
146146
@Override

oauth2_http/java/com/google/auth/oauth2/OAuth2Credentials.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,8 @@ public void onFailure(Throwable throwable) {
574574
/**
575575
* Result from {@link com.google.auth.oauth2.OAuth2Credentials#getOrCreateRefreshTask()}.
576576
*
577-
* <p>Contains the the refresh task and a flag indicating if the task is newly created. If the
578-
* task is newly created, it is the caller's responsibility to execute it.
577+
* <p>Contains the refresh task and a flag indicating if the task is newly created. If the task is
578+
* newly created, it is the caller's responsibility to execute it.
579579
*/
580580
static class AsyncRefreshResult {
581581
private final RefreshTask task;

oauth2_http/java/com/google/auth/oauth2/ServiceAccountJwtAccessCredentials.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,7 @@ public JwtCredentials load(JwtClaims claims) throws Exception {
336336
/**
337337
* Returns a new JwtCredentials instance with modified claims.
338338
*
339-
* @param newClaims new claims. Any unspecified claim fields will default to the the current
340-
* values.
339+
* @param newClaims new claims. Any unspecified claim fields will default to the current values.
341340
* @return new credentials
342341
*/
343342
@Override

0 commit comments

Comments
 (0)