Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ For example:

```java
// create a value state declaration
ValueStateDeclaration<Integer> valueStateDeclaration = StateDeclarations.valueState("example-value-state", TypeDescriptors.LONG);
ValueStateDeclaration<Long> valueStateDeclaration = StateDeclarations.valueState("example-value-state", TypeDescriptors.LONG);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @gunnarmorling , looks good.
Please could you follow https://flink.apache.org/how-to-contribute/contribute-code/ - in your case I think will mean starting the POR title with [hotfix]

Please could you also make the change in the Chinese version of the docs as well.


// create a map state declaration
MapStateDeclaration<Long, String> mapStateDeclaration = StateDeclarations.mapState(
Expand Down