Commit 36140bf
authored
feat(storage): respect com.google.cloud.storage.Hasher.read system property in JSON read paths (#13526)
This PR changes the checksum verification on JSON read paths to use
`Hasher.readHasher()` instead of `Hasher.defaultHasher()`. This respects
the system property `com.google.cloud.storage.Hasher.read` to allow
disabling of client-side checksums on JSON read paths.
[Generated-by: AI]1 parent 04396b2 commit 36140bf
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- java-storage/google-cloud-storage/src/main/java/com/google/cloud/storage
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments