From ff15e503b29f71a5693f9d14a40bfe7f52b7c6fe Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Thu, 15 Feb 2024 13:32:43 +0100 Subject: [PATCH] Cleaning --- src/main/java/servlet/Results.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/java/servlet/Results.java b/src/main/java/servlet/Results.java index c38220a..d8bfd44 100644 --- a/src/main/java/servlet/Results.java +++ b/src/main/java/servlet/Results.java @@ -1,12 +1,10 @@ package servlet; import java.io.*; -import java.sql.SQLException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; -import javax.servlet.http.HttpSession; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -37,14 +35,6 @@ public class Results extends HttpServlet { SurveyResult[] results = db.getSurveyResults(); - // SurveyResult[] results = { - // new SurveyResult("John", "Project 1", new int[] { 1, 2, 3, 4 }), - // new SurveyResult("Jane", "Project 2", new int[] { 5, 6, 7, 8 }), - // new SurveyResult("Joe", "Project 3", new int[] { 9, 10, 1, 2 }), - // new SurveyResult("Jill", "Project 4", new int[] { 3, 4, 5, 6 }), - // new SurveyResult("Jack", "Project 5", new int[] { 7, 8, 9, 10 }), - // }; - for (SurveyResult result : results) { if (result == null) break;