1 | package edu.ucsb.cs156.courses.jobs; | |
2 | ||
3 | import org.springframework.beans.factory.annotation.Autowired; | |
4 | import org.springframework.stereotype.Service; | |
5 | ||
6 | import edu.ucsb.cs156.courses.repositories.GradeDataRepository; | |
7 | import edu.ucsb.cs156.courses.services.UCSBGradeDataService; | |
8 | import lombok.extern.slf4j.Slf4j; | |
9 | ||
10 | @Service | |
11 | public class UploadGradeDataJobFactory { | |
12 | ||
13 | @Autowired | |
14 | UCSBGradeDataService ucsbGradeDataService; | |
15 | ||
16 | @Autowired | |
17 | GradeDataRepository gradeDataRepository; | |
18 | ||
19 | public UploadGradeDataJob create() { | |
20 |
1
1. create : replaced return value with null for edu/ucsb/cs156/courses/jobs/UploadGradeDataJobFactory::create → KILLED |
return new UploadGradeDataJob( |
21 | ucsbGradeDataService, | |
22 | gradeDataRepository); | |
23 | } | |
24 | } | |
Mutations | ||
20 |
1.1 |