Github user aljoscha commented on a diff in the pull request:
https://github.com/apache/flink/pull/2768#discussion_r89162070
--- Diff:
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/windowing/triggers/Trigger.java
---
@@ -179,12 +179,13 @@ public TriggerResult onMerge(W window, OnMergeContext
ctx) throws Exception {
*
* @param stateDescriptor The StateDescriptor that contains the
name and type of the
* state that is being accessed.
+ * @param <V> The type of the values in the state.
* @param <S> The type of the state.
* @return The partitioned state object.
* @throws UnsupportedOperationException Thrown, if no
partitioned state is available for the
* function (function is
not part os a KeyedStream).
*/
- <S extends State> S getPartitionedState(StateDescriptor<S, ?>
stateDescriptor);
+ <V, S extends State<V>> S
getPartitionedState(StateDescriptor<S> stateDescriptor);
--- End diff --
Same thing as elsewhere: we don't need `V`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---