File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
google-cloud-storage/src/main/java/com/google/cloud/storage Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ public void onResponse(BidiReadObjectResponse response) {
281281 ObjectRangeData d = rangeData .get (i );
282282 ReadRange readRange = d .getReadRange ();
283283 long id = readRange .getReadId ();
284- ObjectReadSessionStreamRead read = state .getOutstandingRead (id );
284+ ObjectReadSessionStreamRead <?> read = state .getOutstandingRead (id );
285285 if (read == null || !read .acceptingBytes ()) {
286286 continue ;
287287 }
@@ -391,7 +391,7 @@ public void onError(Throwable t) {
391391 for (ReadRangeError rangeError : rangeErrors ) {
392392 Status status = rangeError .getStatus ();
393393 long id = rangeError .getReadId ();
394- ObjectReadSessionStreamRead read = state .getOutstandingRead (id );
394+ ObjectReadSessionStreamRead <?> read = state .getOutstandingRead (id );
395395 if (read == null ) {
396396 continue ;
397397 }
@@ -414,7 +414,7 @@ public void onError(Throwable t) {
414414 private OnSuccess restartReadFromCurrentOffset (long id ) {
415415 return () -> {
416416 //noinspection resource
417- ObjectReadSessionStreamRead readWithNewId = state .assignNewReadId (id );
417+ ObjectReadSessionStreamRead <?> readWithNewId = state .assignNewReadId (id );
418418 BidiReadObjectRequest requestWithNewReadId =
419419 BidiReadObjectRequest .newBuilder ().addReadRanges (readWithNewId .makeReadRange ()).build ();
420420 ObjectReadSessionStream .this .send (requestWithNewReadId );
You can’t perform that action at this time.
0 commit comments