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 2017/07/25 11:31:24 UTC

[8/8] flink git commit: [FLINK-7255] [docs] Remove default value from ListStateDescriptor constructor

[FLINK-7255] [docs] Remove default value from ListStateDescriptor constructor

This closes #4389.


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

Branch: refs/heads/master
Commit: b139147998d3619f30e4ca260531e8cbeab3b38b
Parents: e5dad7f
Author: zentol <ch...@apache.org>
Authored: Mon Jul 24 15:04:49 2017 +0200
Committer: zentol <ch...@apache.org>
Committed: Tue Jul 25 11:27:57 2017 +0200

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


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