Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

警告を減らしました。

  • Loading branch information...
commit a46631bf51cbb483796f7626645a2d02a4077652 1 parent 88a2445
@yamashii authored
Showing with 4 additions and 5 deletions.
  1. +4 −5 src/main/java/twitter/index/TweetMain.java
View
9 src/main/java/twitter/index/TweetMain.java
@@ -30,7 +30,7 @@ public TweetMain() {
/**
*
*/
- public void run() {
+ public static void run() {
Twitter twitter = TwitterAccessor.accessTwitter();
boolean condition = true;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
@@ -39,7 +39,7 @@ public void run() {
System.out.println("1:つぶやく"); //$NON-NLS-1$
System.out.println("2:自分のつぶやき履歴を見る"); //$NON-NLS-1$
System.out.println("3:他の人のつぶやきを見る"); //$NON-NLS-1$
- System.out.println("4:ユーザの名前全てを見る");
+ System.out.println("4:ユーザの名前全てを見る"); //$NON-NLS-1$
System.out.println("9:終了"); //$NON-NLS-1$
String actNum;
try {
@@ -53,11 +53,10 @@ public void run() {
} else if (actNum.equals("2")) { //$NON-NLS-1$
MyTweetTimeLineDisplay display = new MyTweetTimeLineDisplay(twitter);
display.showMyTL();
- }else if(actNum.equals("3")){ //$NON-NLS-1$
+ } else if (actNum.equals("3")) { //$NON-NLS-1$
FriendsTimeLine tl = new FriendsTimeLine(twitter);
tl.displayFriendsTL();
- }
- else if (actNum.equals("4")) { //$NON-NLS-1$
+ } else if (actNum.equals("4")) { //$NON-NLS-1$
UsersListSearch listSearch = new UsersListSearch(twitter);
listSearch.searchUsersList();
} else if (actNum.equals("9")) { //$NON-NLS-1$
Please sign in to comment.
Something went wrong with that request. Please try again.