Skip to content

Commit d8feb4d

Browse files
ThomasCJYcopybara-github
authored andcommitted
[Step 2] Update non-third party change for jackson2
Follow up for #15215 and Step two for #15176 Closes #15295. PiperOrigin-RevId: 443050332
1 parent d3c38df commit d8feb4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/google/devtools/build/lib/remote/GrpcCacheClientTestBase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import build.bazel.remote.execution.v2.Digest;
2020
import build.bazel.remote.execution.v2.RequestMetadata;
2121
import com.google.api.client.json.GenericJson;
22-
import com.google.api.client.json.jackson2.JacksonFactory;
22+
import com.google.api.client.json.gson.GsonFactory;
2323
import com.google.common.collect.ImmutableList;
2424
import com.google.common.util.concurrent.ListeningScheduledExecutorService;
2525
import com.google.common.util.concurrent.MoreExecutors;
@@ -135,7 +135,7 @@ protected GrpcCacheClient newClient(
135135
json.put("client_secret", "foo");
136136
json.put("refresh_token", "bar");
137137
Scratch scratch = new Scratch();
138-
scratch.file(authTlsOptions.googleCredentials, new JacksonFactory().toString(json));
138+
scratch.file(authTlsOptions.googleCredentials, new GsonFactory().toString(json));
139139

140140
CallCredentialsProvider callCredentialsProvider;
141141
try (InputStream in = scratch.resolve(authTlsOptions.googleCredentials).getInputStream()) {

0 commit comments

Comments
 (0)