Github user aljoscha commented on a diff in the pull request:
https://github.com/apache/flink/pull/2768#discussion_r89161821
--- Diff:
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/AbstractStreamOperator.java
---
@@ -487,7 +487,7 @@ protected ProcessingTimeService
getProcessingTimeService() {
* @throws IllegalStateException Thrown, if the key/value state was
already initialized.
* @throws Exception Thrown, if the state backend cannot create the
key/value state.
*/
- protected <S extends State> S getPartitionedState(StateDescriptor<S, ?>
stateDescriptor) throws Exception {
+ protected <V, S extends State<V>> S
getPartitionedState(StateDescriptor<S> stateDescriptor) throws Exception {
--- End diff --
Here, the same thing I mentioned on `KeyedStateBackend` holds, we don't
need the additional `V` parameter.
---
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.
---