This commit is contained in:
Imbus 2024-02-15 13:32:43 +01:00
parent 73c60d9c52
commit ff15e503b2

View file

@ -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;