You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2018/05/02 13:18:48 UTC

[8/8] flink git commit: [hotfix][docs] Fix typehint in state documentation

[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/ac9156ad
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/ac9156ad
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/ac9156ad

Branch: refs/heads/master
Commit: ac9156aded18b9852e10313758fd979f1255bcb8
Parents: fa321ea
Author: maqingxiang-it <ma...@dev05v.sys.corp.qihoo.net>
Authored: Thu Apr 26 18:14:07 2018 +0800
Committer: zentol <ch...@apache.org>
Committed: Wed May 2 15:18:07 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/ac9156ad/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);