Skip to content

Commit

Permalink
Issue GoogleCloudDataproc#1099: Fixing the usage of ExternalAccountCr…
Browse files Browse the repository at this point in the history
…edentials
  • Loading branch information
davidrabinowitz committed Oct 23, 2023
1 parent cbcd5ae commit aae5b5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* PR #1057: Enable async writes for greater throughput
* PR #1094: CVE-2023-5072: Upgrading the org.json:json dependency
* PR #1095: CVE-2023-4586: Upgrading the netty dependencies
* Issue #1099: Fixing the usage of ExternalAccountCredentials
* BigQuery API has been upgraded to version 2.33.2
* BigQuery Storage API has been upgraded to version 2.44.0
* GAX has been upgraded to version 2.35.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import java.io.IOException;
import java.io.Serializable;
import java.io.UncheckedIOException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
Expand Down Expand Up @@ -112,7 +113,7 @@ public int hashCode() {
// ExternalAccountCredentials first and then compare their hashCodes.
if (credentials instanceof ExternalAccountCredentials) {
return Objects.hashCode(
BigQueryUtil.getCredentialsByteArray(credentials),
Arrays.hashCode(BigQueryUtil.getCredentialsByteArray(credentials)),
headerProvider,
bqConfig.getClientCreationHashCode());
}
Expand Down

0 comments on commit aae5b5a

Please sign in to comment.