[hotfix][docs] Fix typehint in state documentation

This closes #5919.


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/dd563916
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/dd563916
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/dd563916

Branch: refs/heads/release-1.5
Commit: dd5639164bf72cab7f54b7f82d50b68d6d2c7a7c
Parents: 1c48e32
Author: maqingxiang-it <[email protected]>
Authored: Thu Apr 26 18:14:07 2018 +0800
Committer: zentol <[email protected]>
Committed: Wed May 2 15:19:33 2018 +0200

----------------------------------------------------------------------
 docs/dev/stream/state/state.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/dd563916/docs/dev/stream/state/state.md
----------------------------------------------------------------------
diff --git a/docs/dev/stream/state/state.md b/docs/dev/stream/state/state.md
index a26e24d..44a3653 100644
--- a/docs/dev/stream/state/state.md
+++ b/docs/dev/stream/state/state.md
@@ -368,7 +368,7 @@ public class BufferingSink
         ListStateDescriptor<Tuple2<String, Integer>> descriptor =
             new ListStateDescriptor<>(
                 "buffered-elements",
-                TypeInformation.of(new TypeHint<Tuple2<Long, Long>>() {}));
+                TypeInformation.of(new TypeHint<Tuple2<String, Integer>>() 
{}));
 
         checkpointedState = 
context.getOperatorStateStore().getListState(descriptor);
 

Reply via email to