Cleanup
This commit is contained in:
parent
9a8c064b1a
commit
8e67eeb2b7
1 changed files with 0 additions and 4 deletions
|
@ -33,12 +33,8 @@ public class GlobalFeedServlet extends HttpServlet {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
|
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
|
||||||
User user = (User) req.getSession().getAttribute(User.class.getName());
|
|
||||||
List<Post> essays = Collections.emptyList();
|
List<Post> essays = Collections.emptyList();
|
||||||
|
|
||||||
// TentClient tentClient = new TentClient(user.getProfile());
|
|
||||||
// tentClient.getAsync().setAccessToken(user.getAccessToken());
|
|
||||||
// tentClient.getAsync().setRegistrationResponse(user.getRegistration());
|
|
||||||
List<User> allUsers = users.getAll();
|
List<User> allUsers = users.getAll();
|
||||||
essays = this.essays.getEssays(allUsers);
|
essays = this.essays.getEssays(allUsers);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue