[ 
https://issues.apache.org/jira/browse/BEAM-9326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17038154#comment-17038154
 ] 

Ismaël Mejía commented on BEAM-9326:
------------------------------------

Extra question related to the last point for [~kenn], What was the motivation 
to make {{MapElements}} define {{<? extends InputT>}} for the input instead of 
just {{InputT}}?

> JsonToRow transform should not use bounded Wildcards for its input
> ------------------------------------------------------------------
>
>                 Key: BEAM-9326
>                 URL: https://issues.apache.org/jira/browse/BEAM-9326
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Ismaël Mejía
>            Assignee: Ismaël Mejía
>            Priority: Minor
>             Fix For: 2.20.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The JsonToRow PTransform input is a String (a final class in Java) so no 
> reason
> to define a bounded wildcard as its argument.
> We should use <? extends String> in Beam's codebase only when required by Java
> Generics constraints.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to