[MINOR] Fix typos in comments and testcase name of code

## What changes were proposed in this pull request?

This PR fixes typos in comments and testcase name of code.

## How was this patch tested?

manual.

Author: Dongjoon Hyun <dongj...@apache.org>

Closes #11481 from dongjoon-hyun/minor_fix_typos_in_code.


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

Branch: refs/heads/master
Commit: 9bff9b31bbd70e36363c0e535292db300499947b
Parents: 1d9e891
Author: Dongjoon Hyun <dongj...@apache.org>
Authored: Thu Mar 3 22:42:12 2016 +0000
Committer: Sean Owen <so...@cloudera.com>
Committed: Thu Mar 3 22:42:12 2016 +0000

----------------------------------------------------------------------
 .../spark/examples/streaming/twitter/TwitterPopularTags.scala      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bahir/blob/9bff9b31/streaming-twitter/examples/src/main/scala/org/apache/spark/examples/streaming/twitter/TwitterPopularTags.scala
----------------------------------------------------------------------
diff --git 
a/streaming-twitter/examples/src/main/scala/org/apache/spark/examples/streaming/twitter/TwitterPopularTags.scala
 
b/streaming-twitter/examples/src/main/scala/org/apache/spark/examples/streaming/twitter/TwitterPopularTags.scala
index c386e39..5b69963 100644
--- 
a/streaming-twitter/examples/src/main/scala/org/apache/spark/examples/streaming/twitter/TwitterPopularTags.scala
+++ 
b/streaming-twitter/examples/src/main/scala/org/apache/spark/examples/streaming/twitter/TwitterPopularTags.scala
@@ -44,7 +44,7 @@ object TwitterPopularTags {
     val filters = args.takeRight(args.length - 4)
 
     // Set the system properties so that Twitter4j library used by twitter 
stream
-    // can use them to generat OAuth credentials
+    // can use them to generate OAuth credentials
     System.setProperty("twitter4j.oauth.consumerKey", consumerKey)
     System.setProperty("twitter4j.oauth.consumerSecret", consumerSecret)
     System.setProperty("twitter4j.oauth.accessToken", accessToken)

Reply via email to