flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject [1/5] flink git commit: [FLINK-5349] [docs] Fix typos in Twitter connector example This closes #3015.
Date Thu, 05 Jan 2017 14:42:41 GMT
Repository: flink
Updated Branches:
  refs/heads/release-1.2 a6a59999b -> 9c0c19aae


[FLINK-5349] [docs] Fix typos in Twitter connector example
This closes #3015.


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

Branch: refs/heads/release-1.2
Commit: 335175e6eefc260cf1600544639594d85836f7d8
Parents: a6a5999
Author: Ivan Mushketyk <ivan.mushketik@gmail.com>
Authored: Fri Dec 16 07:56:46 2016 +0000
Committer: zentol <chesnay@apache.org>
Committed: Thu Jan 5 14:00:52 2017 +0100

----------------------------------------------------------------------
 docs/dev/connectors/twitter.md | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/335175e6/docs/dev/connectors/twitter.md
----------------------------------------------------------------------
diff --git a/docs/dev/connectors/twitter.md b/docs/dev/connectors/twitter.md
index 0ccbbff..9b6a019 100644
--- a/docs/dev/connectors/twitter.md
+++ b/docs/dev/connectors/twitter.md
@@ -58,20 +58,20 @@ In contrast to other connectors, the `TwitterSource` depends on no additional
se
 <div data-lang="java" markdown="1">
 {% highlight java %}
 Properties props = new Properties();
-p.setProperty(TwitterSource.CONSUMER_KEY, "");
-p.setProperty(TwitterSource.CONSUMER_SECRET, "");
-p.setProperty(TwitterSource.TOKEN, "");
-p.setProperty(TwitterSource.TOKEN_SECRET, "");
+props.setProperty(TwitterSource.CONSUMER_KEY, "");
+props.setProperty(TwitterSource.CONSUMER_SECRET, "");
+props.setProperty(TwitterSource.TOKEN, "");
+props.setProperty(TwitterSource.TOKEN_SECRET, "");
 DataStream<String> streamSource = env.addSource(new TwitterSource(props));
 {% endhighlight %}
 </div>
 <div data-lang="scala" markdown="1">
 {% highlight scala %}
 val props = new Properties();
-p.setProperty(TwitterSource.CONSUMER_KEY, "");
-p.setProperty(TwitterSource.CONSUMER_SECRET, "");
-p.setProperty(TwitterSource.TOKEN, "");
-p.setProperty(TwitterSource.TOKEN_SECRET, "");
+props.setProperty(TwitterSource.CONSUMER_KEY, "");
+props.setProperty(TwitterSource.CONSUMER_SECRET, "");
+props.setProperty(TwitterSource.TOKEN, "");
+props.setProperty(TwitterSource.TOKEN_SECRET, "");
 DataStream<String> streamSource = env.addSource(new TwitterSource(props));
 {% endhighlight %}
 </div>


Mime
View raw message