sjwiesman commented on a change in pull request #9889: [FLINK-14355] [docs]
Example code in state processor API docs doesn't compile
URL: https://github.com/apache/flink/pull/9889#discussion_r334916181
##########
File path: docs/dev/libs/state_processor_api.md
##########
@@ -256,9 +258,11 @@ public class StatefulFunctionWithTime extends
KeyedProcessFunction<Integer, Inte
public class StatefulFunctionWithTime extends KeyedProcessFunction[Integer,
Integer, Void] {
var state: ValueState[Integer];
+ var stateDescriptor: ValueStateDescriptor[Integer];
Review comment:
This does not need to be a member variable, just declare it inside of open.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services