flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject [8/8] flink git commit: [FLINK-7255] [docs] Remove default value from ListStateDescriptor constructor
Date Tue, 25 Jul 2017 11:31:24 GMT
[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 <chesnay@apache.org>
Authored: Mon Jul 24 15:04:49 2017 +0200
Committer: zentol <chesnay@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);
 


Mime
View raw message