tilgalas commented on code in PR #32081:
URL: https://github.com/apache/beam/pull/32081#discussion_r1816664202


##########
sdks/java/core/src/main/java/org/apache/beam/sdk/values/Row.java:
##########
@@ -836,10 +838,10 @@ public int nextFieldId() {
     }
 
     @Internal
-    public Row withFieldValueGetters(
-        Factory<List<FieldValueGetter>> fieldValueGetterFactory, Object 
getterTarget) {
+    public <T extends @NonNull Object> Row withFieldValueGetters(

Review Comment:
   I could change it to `<@NonNull T>` I suppose - it compiles, but then my IDE 
complains that "Non-null type argument is expected" on the `T` parameter of the 
`FieldValueGetter<T, ?>` type 



-- 
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