klion26 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_r334730018
##########
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];
@throws[Exception]
Review comment:
Just curious, why we add `@throws[Exception]` here, where will the Exception
throw from?
----------------------------------------------------------------
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