@@ -293,7 +293,6 @@ public StorageObject compose(Iterable<StorageObject> sources, StorageObject targ
293
293
Map <Option , ?> targetOptions ) throws StorageException {
294
294
ComposeRequest request = new ComposeRequest ();
295
295
if (target .getContentType () == null ) {
296
- // todo: remove once this is no longer requirement (b/20681287).
297
296
target .setContentType ("application/octet-stream" );
298
297
}
299
298
request .setDestination (target );
@@ -311,7 +310,6 @@ public StorageObject compose(Iterable<StorageObject> sources, StorageObject targ
311
310
}
312
311
request .setSourceObjects (sourceObjects );
313
312
try {
314
- // todo: missing setProjection (b/20659000)
315
313
return storage .objects ()
316
314
.compose (target .getBucket (), target .getName (), request )
317
315
.setIfMetagenerationMatch (IF_METAGENERATION_MATCH .getLong (targetOptions ))
@@ -435,7 +433,6 @@ public byte[] read(StorageObject from, Map<Option, ?> options, long position, in
435
433
.setIfGenerationMatch (IF_GENERATION_MATCH .getLong (options ))
436
434
.setIfGenerationNotMatch (IF_GENERATION_NOT_MATCH .getLong (options ));
437
435
MediaHttpDownloader downloader = req .getMediaHttpDownloader ();
438
- // todo: Fix int casting (https://github.com/google/google-api-java-client/issues/937)
439
436
downloader .setContentRange (position , (int ) position + bytes );
440
437
downloader .setDirectDownloadEnabled (true );
441
438
ByteArrayOutputStream output = new ByteArrayOutputStream ();
0 commit comments