Cleaning
This commit is contained in:
parent
73c60d9c52
commit
ff15e503b2
1 changed files with 0 additions and 10 deletions
|
@ -1,12 +1,10 @@
|
||||||
package servlet;
|
package servlet;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
import java.sql.SQLException;
|
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
import javax.servlet.annotation.WebServlet;
|
import javax.servlet.annotation.WebServlet;
|
||||||
import javax.servlet.http.HttpServlet;
|
import javax.servlet.http.HttpServlet;
|
||||||
import javax.servlet.http.HttpSession;
|
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
@ -37,14 +35,6 @@ public class Results extends HttpServlet {
|
||||||
|
|
||||||
SurveyResult[] results = db.getSurveyResults();
|
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) {
|
for (SurveyResult result : results) {
|
||||||
if (result == null)
|
if (result == null)
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue