cosmetic changes

This commit is contained in:
surtur 2021-02-08 19:49:48 +01:00
parent 211be0953e
commit 7a856ae463
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -209,7 +209,6 @@ public class MainServlet extends HttpServlet {
protected void process_gaussian(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, FileUploadException { protected void process_gaussian(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, FileUploadException {
//response.setContentType("text/html;charset=utf-8"); //response.setContentType("text/html;charset=utf-8");
//PrintWriter out = response.getWriter();
float selRadius = 1; float selRadius = 1;
FileItemFactory factory = new DiskFileItemFactory(); FileItemFactory factory = new DiskFileItemFactory();
ServletFileUpload fileupload = new ServletFileUpload(factory); ServletFileUpload fileupload = new ServletFileUpload(factory);
@ -254,7 +253,6 @@ public class MainServlet extends HttpServlet {
protected void process_lensblur(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, FileUploadException { protected void process_lensblur(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, FileUploadException {
//response.setContentType("text/html;charset=utf-8"); //response.setContentType("text/html;charset=utf-8");
//PrintWriter out = response.getWriter();
float radius = 1; float radius = 1;
int sides = 1; int sides = 1;
@ -314,6 +312,7 @@ public class MainServlet extends HttpServlet {
lbf.setBloom(bloom); lbf.setBloom(bloom);
lbf.setBloomThreshold(bloom_threshold); lbf.setBloomThreshold(bloom_threshold);
transformed = lbf.filter(original, null); transformed = lbf.filter(original, null);
lbf.filter(original, transformed);
} }
} }