kennknowles commented on code in PR #32909:
URL: https://github.com/apache/beam/pull/32909#discussion_r1815585921


##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/firestore/RpcQos.java:
##########
@@ -200,11 +200,10 @@ interface RpcWriteAttempt extends RpcAttempt {
      * provided {@code instant}.
      *
      * @param instant The intended start time of the next rpc
-     * @param <T> The type which will be sent in the request
      * @param <ElementT> The {@link Element} type which the returned buffer 
will contain
      * @return a new {@link FlushBuffer} which queued messages can be staged 
to before final flush
      */
-    <T, ElementT extends Element<T>> FlushBuffer<ElementT> 
newFlushBuffer(Instant instant);
+    <ElementT extends Element<?>> FlushBuffer<ElementT> newFlushBuffer(Instant 
instant);

Review Comment:
   This seems like a regression in functionality. Now the type cannot assure 
that it is a `FlushBuffer<Element<T>>`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to