diff options
author | 2018-12-12 15:12:27 +0300 | |
---|---|---|
committer | 2018-12-12 15:12:27 +0300 | |
commit | 9d493ac966db2e016f73efcdcfb65dfb10bf8114 (patch) | |
tree | a809772b66e659f4154dc64d3140c86f76875977 /src/main/java/com/juick/server/www/controllers/AnythingFilter.java | |
parent | 2ea41f9dcfdedf247d1d81f7efa050a61c3f5e03 (diff) |
UserInfo -> User
Diffstat (limited to 'src/main/java/com/juick/server/www/controllers/AnythingFilter.java')
-rw-r--r-- | src/main/java/com/juick/server/www/controllers/AnythingFilter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/www/controllers/AnythingFilter.java b/src/main/java/com/juick/server/www/controllers/AnythingFilter.java index cdbeafc0..57b298eb 100644 --- a/src/main/java/com/juick/server/www/controllers/AnythingFilter.java +++ b/src/main/java/com/juick/server/www/controllers/AnythingFilter.java @@ -60,7 +60,7 @@ public class AnythingFilter extends OncePerRequestFilter { } else { com.juick.User user = userService.getUserByName(anything); if (!user.isAnonymous()) { - ((HttpServletResponse) servletResponse).sendRedirect("/" + user.getName() + "/?before=" + before); + servletResponse.sendRedirect("/" + user.getName() + "/?before=" + before); } else { filterChain.doFilter(servletRequest, servletResponse); } |