Source:
<code>private FeedbackSessionResponseStatus getFeedbackSessionResponseStatus( FeedbackSessionAttributes fsa, CourseRoster roster, List<FeedbackQuestionAttributes> questions) throws EntityDoesNotExistException { FeedbackSessionResponseStatus responseStatus = new FeedbackSessionResponseStatus(); List<StudentAttributes> students = roster.getStudents(); List<InstructorAttributes> instructors = roster.getInstructors(); List<FeedbackQuestionAttributes> studentQns = fqLogic .getFeedbackQuestionsForStudents(questions); List<String> studentNoResponses = new ArrayList<String>(); List<String> instructorNoResponses = new ArrayList<String>(); if(!studentQns.isEmpty()){ for(StudentAttributes student : students){ studentNoResponses.add(student.email); responseStatus.emailNameTable.put(student.email, student.name); responseStatus.emailTeamNameTable.put(student.email, student.team); } } <START> studentNoResponses.removeAll(fsa.respondingStudentList); <END> for (InstructorAttributes instructor : instructors) { List<FeedbackQuestionAttributes> instructorQns = fqLogic .getFeedbackQuestionsForInstructor(questions, fsa.isCreator(instructor.email)); if (!instructorQns.isEmpty()) { if(responseStatus.emailNameTable.get(instructor.email) == null){ instructorNoResponses.add(instructor.email); responseStatus.emailNameTable.put(instructor.email, instructor.name); } } } instructorNoResponses.removeAll(fsa.respondingInstructorList); responseStatus.noResponse.addAll(studentNoResponses); responseStatus.noResponse.addAll(instructorNoResponses); return responseStatus; }</code><technical_language>add team name ("Teaching Team") for instructors</technical_language>

Target:
private FeedbackSessionResponseStatus getFeedbackSessionResponseStatus( FeedbackSessionAttributes fsa, CourseRoster roster, List<FeedbackQuestionAttributes> questions) throws EntityDoesNotExistException { FeedbackSessionResponseStatus responseStatus = new FeedbackSessionResponseStatus(); List<StudentAttributes> students = roster.getStudents(); List<InstructorAttributes> instructors = roster.getInstructors(); List<FeedbackQuestionAttributes> studentQns = fqLogic .getFeedbackQuestionsForStudents(questions); List<String> studentNoResponses = new ArrayList<String>(); List<String> instructorNoResponses = new ArrayList<String>(); if(!studentQns.isEmpty()){ for(StudentAttributes student : students){ studentNoResponses.add(student.email); responseStatus.emailNameTable.put(student.email, student.name); responseStatus.emailTeamNameTable.put(student.email, student.team); } } studentNoResponses.removeAll(fsa.respondingStudentList); for (InstructorAttributes instructor : instructors) { List<FeedbackQuestionAttributes> instructorQns = fqLogic .getFeedbackQuestionsForInstructor(questions, fsa.isCreator(instructor.email)); if (!instructorQns.isEmpty()) { if(responseStatus.emailNameTable.get(instructor.email) == null){ instructorNoResponses.add(instructor.email); responseStatus.emailNameTable.put(instructor.email, instructor.name); responseStatus.emailTeamNameTable.put(instructor.email, "Teaching Team"); } } } instructorNoResponses.removeAll(fsa.respondingInstructorList); responseStatus.noResponse.addAll(studentNoResponses); responseStatus.noResponse.addAll(instructorNoResponses); return responseStatus; }