Skip to content

Commit

Permalink
Remove unused private method (#8224)
Browse files Browse the repository at this point in the history
* Remove unused private method
  • Loading branch information
Legioth authored and pleku committed Jan 11, 2017
1 parent f7e33df commit 6497412
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions server/src/main/java/com/vaadin/server/VaadinServlet.java
Original file line number Diff line number Diff line change
Expand Up @@ -1307,21 +1307,6 @@ static String removeHeadingOrTrailing(String string, String what) {
return string;
}

/**
* Write a redirect response to the main page of the application.
*
* @param request
* @param response
* @throws IOException
* if sending the redirect fails due to an input/output error or
* a bad application URL
*/
private void redirectToApplication(HttpServletRequest request,
HttpServletResponse response) throws IOException {
String applicationUrl = getApplicationUrl(request).toExternalForm();
response.sendRedirect(response.encodeRedirectURL(applicationUrl));
}

/**
* Gets the current application URL from request.
*
Expand Down

0 comments on commit 6497412

Please sign in to comment.