GeezerVison is showing github.com — Remove default contentType from Storage.compose and Bucket.create by mziccard · Pull Request #762 · googleapis/google-cloud-java
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Coverage increased (+0.03%) to 83.228% when pulling 8840b33 on mziccard:remove-compose-content-type into 7d48ec7 on GoogleCloudPlatform:master.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
* @throws StorageException upon failure
|
|
|
*/
|
|
|
public Blob create(String blob, byte[] content, BlobTargetOption... options) {
|
|
|
BlobInfo blobInfo = BlobInfo.builder(BlobId.of(name(), blob)).build();
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Looks great. Thanks for doing that. Should we also add something to the integration test?
Also, I suspect this enforcment is no longer needed?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
- update CopyRequest to hold both targetId and targetInfo
- avoid sending storage object in StorageRpc.rewrite when only targetId is set
- refactor CopyWriter and state
- add integration tests
|

Coverage increased (+1.1%) to 84.321% when pulling 22636e2 on mziccard:remove-compose-content-type into 7d48ec7 on GoogleCloudPlatform:master.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
private final Set<BlobTargetOption> targetOptions = new LinkedHashSet<>();
|
|
|
private BlobId source;
|
|
|
private BlobInfo target;
|
|
|
private BlobId targetId;
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Nice, few more comments/suggestions.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Coverage increased (+1.1%) to 84.318% when pulling 1855ae1 on mziccard:remove-compose-content-type into 7d48ec7 on GoogleCloudPlatform:master.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
|
private final Map<StorageRpc.Option, ?> sourceOptions;
|
|
|
private final BlobId targetId;
|
|
|
private final boolean overrideInfo;
|
|
|
private BlobInfo target;
|
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
LGTM. Feel free to merge after considering the 2 comments above.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Coverage increased (+1.1%) to 84.318% when pulling 5dd0292 on mziccard:remove-compose-content-type into 7d48ec7 on GoogleCloudPlatform:master.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
mziccard
added a commit
that referenced
this pull request
Mar 20, 2016
Remove default contentType from Storage.compose and Bucket.create
github-actions Bot
pushed a commit
that referenced
this pull request
Jul 1, 2022
Making CLIRR not required. The version bumps are now controlled by the Release Please and OwlBot. The CL authors create appropriate change description to control major version bumps.
github-actions Bot
pushed a commit
that referenced
this pull request
Jul 28, 2022
Fixes #n/a☕️
Changed the network name being created
We were seeing the error where we ran into too many clusters being created with the `default` vpc network, which was also being by other java CI flows not in this repo.
chingor13
pushed a commit
that referenced
this pull request
Feb 24, 2026
…rst iteration (#756) (#762)
* chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - first iteration (#756)
* chore: expand imports (#756)
chingor13
pushed a commit
that referenced
this pull request
Feb 24, 2026
* refactor: Revert JUnit5 to JUnit4
Refactored tests added since 928dd04 to
use JUnit4 instead of JUnit5.
Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - sixth iteration (#756) (#769)"
This reverts commit 928dd04.
Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - fifth iteration (#756) (#767)"
This reverts commit 59dfb35.
Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - fourth iteration (#756) (#766)"
This reverts commit d7edc45.
Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - third iteration (#756) (#764)"
This reverts commit e9dfaf9.
Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - second iteration (#756) (#763)"
This reverts commit d045247.
Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - first iteration (#756) (#762)"
This reverts commit 4e6576f.
Revert "refactor: migration tests in credentials module from JUnit4 to JUnit5 (#756) (#761)"
This reverts commit a64d35c.
Revert "refactor: migration tests in appengine module from JUnit4 to JUnit5 (#756) (#760)"
This reverts commit cccaa44.
chingor13
pushed a commit
that referenced
this pull request
Mar 12, 2026
…rst iteration (#756) (#762)
* chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - first iteration (#756)
* chore: expand imports (#756)
chingor13
pushed a commit
that referenced
this pull request
Mar 12, 2026
* refactor: Revert JUnit5 to JUnit4
Refactored tests added since cdebb54 to
use JUnit4 instead of JUnit5.
Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - sixth iteration (#756) (#769)"
This reverts commit cdebb54.
Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - fifth iteration (#756) (#767)"
This reverts commit f783380.
Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - fourth iteration (#756) (#766)"
This reverts commit 3463218.
Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - third iteration (#756) (#764)"
This reverts commit ca97388.
Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - second iteration (#756) (#763)"
This reverts commit 9ce44be.
Revert "chore: migrate tests in oauth2_http module from JUnit4 to JUnit5 - first iteration (#756) (#762)"
This reverts commit 86a4779.
Revert "refactor: migration tests in credentials module from JUnit4 to JUnit5 (#756) (#761)"
This reverts commit 4054c0b.
Revert "refactor: migration tests in appengine module from JUnit4 to JUnit5 (#756) (#760)"
This reverts commit a6b04ac.
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
api: storage
Issues related to the Cloud Storage API.
cla: yes
This human has signed the Contributor License Agreement.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|