瀏覽代碼

Remove unused private method (#8224)

* Remove unused private method
tags/8.0.0.beta2
Leif Åstrand 7 年之前
父節點
當前提交
6497412d27
共有 1 個檔案被更改,包括 0 行新增15 行删除
  1. 0
    15
      server/src/main/java/com/vaadin/server/VaadinServlet.java

+ 0
- 15
server/src/main/java/com/vaadin/server/VaadinServlet.java 查看文件

@@ -1307,21 +1307,6 @@ public class VaadinServlet extends HttpServlet implements Constants {
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.
*

Loading…
取消
儲存