1 | package edu.ucsb.cs156.courses.jobs; | |
2 | ||
3 | import edu.ucsb.cs156.courses.repositories.GradeHistoryRepository; | |
4 | import edu.ucsb.cs156.courses.services.UCSBGradeHistoryServiceImpl; | |
5 | import org.springframework.beans.factory.annotation.Autowired; | |
6 | import org.springframework.stereotype.Service; | |
7 | ||
8 | @Service | |
9 | public class UploadGradeDataJobFactory { | |
10 | ||
11 | @Autowired UCSBGradeHistoryServiceImpl ucsbGradeHistoryServiceImpl; | |
12 | ||
13 | @Autowired GradeHistoryRepository gradeHistoryRepository; | |
14 | ||
15 | public UploadGradeDataJob create() { | |
16 |
1
1. create : replaced return value with null for edu/ucsb/cs156/courses/jobs/UploadGradeDataJobFactory::create → KILLED |
return new UploadGradeDataJob(ucsbGradeHistoryServiceImpl, gradeHistoryRepository); |
17 | } | |
18 | } | |
Mutations | ||
16 |
1.1 |