Skip to content

Commit

Permalink
Merge branch 'main' into release-please--branches--main
Browse files Browse the repository at this point in the history
  • Loading branch information
lqiu96 authored Sep 20, 2024
2 parents f1ccf4d + 12c0188 commit 940b42f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
package com.google.auth.oauth2;

import com.google.api.client.json.JsonParser;
import com.google.common.base.Charsets;
import com.google.common.base.MoreObjects;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.Socket;
import java.nio.charset.StandardCharsets;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
Expand All @@ -59,7 +59,7 @@ public class CloudShellCredentials extends GoogleCredentials {
protected static final String GET_AUTH_TOKEN_REQUEST = "2\n[]";

protected static final byte[] GET_AUTH_TOKEN_REQUEST_BYTES =
(GET_AUTH_TOKEN_REQUEST + "\n").getBytes(Charsets.UTF_8);
(GET_AUTH_TOKEN_REQUEST + "\n").getBytes(StandardCharsets.UTF_8);

private final int authPort;

Expand Down

0 comments on commit 940b42f

Please sign in to comment.