flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject flink git commit: [FLINK-7255] [docs] Remove default value from ListStateDescriptor constructor
Date Tue, 25 Jul 2017 09:29:01 GMT
Repository: flink
Updated Branches:
  refs/heads/release-1.3 c704adf0d -> 0c9bee696


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


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

Branch: refs/heads/release-1.3
Commit: 0c9bee69665e00ab17fe0a216c746b0bc8435263
Parents: c704adf
Author: zentol <chesnay@apache.org>
Authored: Mon Jul 24 15:04:49 2017 +0200
Committer: zentol <chesnay@apache.org>
Committed: Tue Jul 25 11:28:36 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/0c9bee69/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