Skip to content

Commit

Permalink
migrate to twitter4j 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuke committed Mar 7, 2011
1 parent 9a0e2c5 commit 5be7234
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -28,7 +28,7 @@
<dependency>
<groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId>
<version>2.1.11</version>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/twitter4j/examples/signin/CallbackServlet.java
Expand Up @@ -28,7 +28,7 @@

import twitter4j.Twitter;
import twitter4j.TwitterException;
import twitter4j.http.RequestToken;
import twitter4j.auth.RequestToken;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
Expand All @@ -49,6 +49,6 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) t
} catch (TwitterException e) {
throw new ServletException(e);
}
response.sendRedirect(request.getContextPath()+ "/");
response.sendRedirect(request.getContextPath() + "/");
}
}
2 changes: 1 addition & 1 deletion src/main/java/twitter4j/examples/signin/SigninServlet.java
Expand Up @@ -29,7 +29,7 @@
import twitter4j.Twitter;
import twitter4j.TwitterException;
import twitter4j.TwitterFactory;
import twitter4j.http.RequestToken;
import twitter4j.auth.RequestToken;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
Expand Down

0 comments on commit 5be7234

Please sign in to comment.