Skip to content

Commit a965c5a

Browse files
ThomasCJYcoeuvre
authored andcommitted
[Step 2] Update non-third party change for jackson2
Follow up for bazelbuild#15215 and Step two for bazelbuild#15176 Closes bazelbuild#15295. PiperOrigin-RevId: 443050332
1 parent 355ad7c commit a965c5a

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/GrpcCacheClientTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
import build.bazel.remote.execution.v2.Tree;
4040
import build.bazel.remote.execution.v2.UpdateActionResultRequest;
4141
import com.google.api.client.json.GenericJson;
42-
import com.google.api.client.json.jackson2.JacksonFactory;
42+
import com.google.api.client.json.gson.GsonFactory;
4343
import com.google.bytestream.ByteStreamGrpc.ByteStreamImplBase;
4444
import com.google.bytestream.ByteStreamProto.QueryWriteStatusRequest;
4545
import com.google.bytestream.ByteStreamProto.QueryWriteStatusResponse;
@@ -213,7 +213,7 @@ protected GrpcCacheClient newClient(
213213
json.put("client_secret", "foo");
214214
json.put("refresh_token", "bar");
215215
Scratch scratch = new Scratch();
216-
scratch.file(authTlsOptions.googleCredentials, new JacksonFactory().toString(json));
216+
scratch.file(authTlsOptions.googleCredentials, new GsonFactory().toString(json));
217217

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

0 commit comments

Comments
 (0)