From 67cfd6f83e94641fe5e4056005eff55cf1ee3708 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Tue, 14 Sep 2010 01:04:43 +0000 Subject: [PATCH] Fixed output in TwitterOAuth.java. --- mobibot.iws | 156 ++++++++---------- .../thauvin/erik/mobibot/TwitterOAuth.java | 10 +- 2 files changed, 72 insertions(+), 94 deletions(-) diff --git a/mobibot.iws b/mobibot.iws index baba0ea..48843a3 100644 --- a/mobibot.iws +++ b/mobibot.iws @@ -30,14 +30,8 @@ - - - - - - - + @@ -138,20 +132,16 @@ - - - + - + - - - - + + @@ -159,7 +149,7 @@ - + @@ -183,10 +173,10 @@ - + - + @@ -215,11 +205,11 @@ @@ -395,7 +385,6 @@ - @@ -424,6 +413,7 @@ + @@ -444,14 +434,14 @@ - + - - + + @@ -483,8 +473,8 @@ - + @@ -494,8 +484,8 @@ - + @@ -543,7 +533,7 @@ - + - - + - + - + @@ -862,6 +851,7 @@ + @@ -870,8 +860,8 @@ - + @@ -1016,53 +1006,41 @@ - - - + + + + + + - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/src/net/thauvin/erik/mobibot/TwitterOAuth.java b/src/net/thauvin/erik/mobibot/TwitterOAuth.java index 4cfa742..b0f8846 100644 --- a/src/net/thauvin/erik/mobibot/TwitterOAuth.java +++ b/src/net/thauvin/erik/mobibot/TwitterOAuth.java @@ -57,6 +57,11 @@ public class TwitterOAuth { accessToken = twitter.getOAuthAccessToken(); } + + System.out.println( + "Please add the following to the bot's property file:" + "\n\n" + "twitter-consumerKey=" + + args[0] + '\n' + "twitter-consumerSecret=" + args[1] + '\n' + "twitter-token=" + + accessToken.getToken() + '\n' + "twitter-tokenSecret=" + accessToken.getTokenSecret()); } catch (TwitterException te) { @@ -70,11 +75,6 @@ public class TwitterOAuth } } } - - System.out.println( - "Please add the following to the bot's property file:" + "\n\n" + "twitter-consumerKey=" + args[0] - + '\n' + "twitter-consumerSecret=" + args[1] + '\n' + "twitter-token=" + accessToken.getToken() - + '\n' + "twitter-tokenSecret=" + accessToken.getTokenSecret()); } else {